lintel 0.2.0
Loading...
Searching...
No Matches
Namespaces | Typedefs
httplib Namespace Reference

Namespaces

namespace  detail
 

Typedefs

using Headers = std::unordered_multimap< std::string, std::string, detail::case_ignore::hash, detail::case_ignore::equal_to >
 
using Params = std::multimap< std::string, std::string >
 
using ResponseHandler = std::function< bool(const Response &response)>
 
using ContentProvider = std::function< bool(size_t offset, size_t length, DataSink &sink)>
 
using ContentProviderWithoutLength = std::function< bool(size_t offset, DataSink &sink)>
 
using ContentReceiver = std::function< bool(const char *data, size_t data_length)>
 

Detailed Description

Forward declarations mirroring the subset of <httplib.h> that is part of the public API. Keep this block in sync with the vendored httplib version so that the aliases resolve to the exact same types when <httplib.h> is included.

Typedef Documentation

◆ ContentProvider

using httplib::ContentProvider = typedef std::function<bool(size_t offset, size_t length, DataSink &sink)>

◆ ContentProviderWithoutLength

using httplib::ContentProviderWithoutLength = typedef std::function<bool(size_t offset, DataSink &sink)>

◆ ContentReceiver

using httplib::ContentReceiver = typedef std::function<bool(const char *data, size_t data_length)>

◆ Headers

using httplib::Headers = typedef std::unordered_multimap<std::string, std::string, detail::case_ignore::hash, detail::case_ignore::equal_to>

◆ Params

using httplib::Params = typedef std::multimap<std::string, std::string>

◆ ResponseHandler

using httplib::ResponseHandler = typedef std::function<bool(const Response &response)>