Instrument Neutral Distributed Interface INDI 2.2.5
Namespaces | Classes | Functions
httplib::detail Namespace Reference

Namespaces

namespace  case_ignore
 
namespace  fields
 
namespace  udl
 

Classes

struct  BodyReader
 
class  MatcherBase
 
class  PathParamsMatcher
 
class  RegexMatcher
 
struct  scope_exit
 

Functions

template<class T , class... Args>
std::enable_if<!std::is_array< T >::value, std::unique_ptr< T > >::type make_unique (Args &&...args)
 
template<class T >
std::enable_if< std::is_array< T >::value, std::unique_ptr< T > >::type make_unique (std::size_t n)
 
int close_socket (socket_t sock)
 
ssize_t write_headers (Stream &strm, const Headers &headers)
 
ssize_t read_body_content (Stream *stream, BodyReader &br, char *buf, size_t len)
 

Function Documentation

◆ close_socket()

int httplib::detail::close_socket ( socket_t  sock)
inline

Definition at line 4924 of file httplib.h.

◆ make_unique() [1/2]

template<class T , class... Args>
std::enable_if<!std::is_array< T >::value, std::unique_ptr< T > >::type httplib::detail::make_unique ( Args &&...  args)

Definition at line 396 of file httplib.h.

◆ make_unique() [2/2]

template<class T >
std::enable_if< std::is_array< T >::value, std::unique_ptr< T > >::type httplib::detail::make_unique ( std::size_t  n)

Definition at line 403 of file httplib.h.

◆ read_body_content()

ssize_t httplib::detail::read_body_content ( Stream *  stream,
BodyReader &  br,
char *  buf,
size_t  len 
)
inline

Definition at line 1593 of file httplib.h.

◆ write_headers()

ssize_t httplib::detail::write_headers ( Stream &  strm,
const Headers &  headers 
)
inline

Definition at line 7171 of file httplib.h.