HttpServer.h
Go to the documentation of this file.
std::enable_if< std::is_integral< T >::value, String >::type toString(T value)
Definition: BitSet.h:481
Class to map URL paths to classes which handle them.
Definition: HttpResourceTree.h:27
Definition: HttpServer.h:37
void setBodyParser(MimeType mimeType, HttpBodyParserDelegate parser)
Allows content-type specific parsing of the body based on content-type.
Definition: HttpServer.h:74
void setBodyParser(const String &contentType, HttpBodyParserDelegate parser)
Allows content-type specific parsing of the body based on content-type.
Definition: HttpServer.h:64
void configure(const HttpServerSettings &settings)
Allows changing the server configuration.
HttpResourceTree paths
Maps paths to resources which deal with incoming requests.
Definition: HttpServer.h:81
TcpConnection * createClient(tcp_pcb *clientTcp) override
Definition: TcpConnection.h:40
Definition: TcpServer.h:31
Definition: HttpServer.h:27
uint16_t maxActiveConnections
maximum number of concurrent requests..
Definition: HttpServer.h:28
bool closeOnContentError
close the connection if a body parser or resource fails to parse the body content.
Definition: HttpServer.h:32
uint16_t keepAliveSeconds
default seconds to keep the connection alive before closing it
Definition: HttpServer.h:29
int minHeapSize
min heap size that is required to accept connection, -1 means use server default
Definition: HttpServer.h:30
bool useDefaultBodyParsers
if the default body parsers, as form-url-encoded, should be used
Definition: HttpServer.h:31