HttpServerSettings Struct Reference

#include <HttpServer.h>

Collaboration diagram for HttpServerSettings:
[legend]

Public Attributes

uint16_t maxActiveConnections = 10
 maximum number of concurrent requests.. More...
 
uint16_t keepAliveSeconds = 0
 default seconds to keep the connection alive before closing it More...
 
int minHeapSize = -1
 min heap size that is required to accept connection, -1 means use server default More...
 
bool useDefaultBodyParsers = 1
 if the default body parsers, as form-url-encoded, should be used More...
 
bool closeOnContentError
 close the connection if a body parser or resource fails to parse the body content. More...
 

Member Data Documentation

◆ closeOnContentError

bool HttpServerSettings::closeOnContentError
Initial value:
=
true

close the connection if a body parser or resource fails to parse the body content.

◆ keepAliveSeconds

uint16_t HttpServerSettings::keepAliveSeconds = 0

default seconds to keep the connection alive before closing it

◆ maxActiveConnections

uint16_t HttpServerSettings::maxActiveConnections = 10

maximum number of concurrent requests..

◆ minHeapSize

int HttpServerSettings::minHeapSize = -1

min heap size that is required to accept connection, -1 means use server default

◆ useDefaultBodyParsers

bool HttpServerSettings::useDefaultBodyParsers = 1

if the default body parsers, as form-url-encoded, should be used


The documentation for this struct was generated from the following file: