identt
Classes | Macros | Typedefs | Functions
Utility.hpp File Reference

identt More...

#include "StatusCode.hpp"
#include <atomic>
#include <cstdlib>
#include <iostream>
#include <memory>
#include <string>
#include <unordered_map>
#include <chrono>
#include <ctime>
#include <mutex>
#include <boost/utility/string_ref.hpp>

Go to the source code of this file.

Classes

class  identt::http::CaseInsensitiveEqual
 
class  identt::http::CaseInsensitiveHash
 
class  identt::http::Percent
 Percent encoding and decoding. More...
 
class  identt::http::QueryString
 Query string creation and parsing. More...
 
class  identt::http::HttpHeader
 
class  identt::http::HttpHeader::FieldValue
 
class  identt::http::HttpHeader::FieldValue::SemicolonSeparatedAttributes
 
class  identt::http::RequestMessage
 
class  identt::http::ResponseMessage
 
class  identt::http::Date
 Date class working with formats specified in RFC 7231 Date/Time Formats. More...
 
class  identt::http::ScopeRunner
 Makes it possible to for instance cancel Asio handlers without stopping asio::io_service. More...
 
class  identt::http::ScopeRunner::SharedLock
 

Typedefs

using identt::http::string_view = boost::string_ref
 
using identt::http::CaseInsensitiveMultimap = std::unordered_multimap< std::string, std::string, CaseInsensitiveHash, CaseInsensitiveEqual >
 

Functions

bool identt::http::case_insensitive_equal (const std::string &str1, const std::string &str2) noexcept
 
void identt::http::spin_loop_pause () noexcept
 

Detailed Description

identt

Author
S Roychowdhury < sroycode at gmail dot com >
Version
1.0.0

LICENSE

Copyright (c) 2018-2019 S Roychowdhury

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

DESCRIPTION

Utility.hpp : utilities for Web Server ( Modified from eidheim/Simple-Web-Server )