#include "WString.h"
#include "../WebConstants.h"
#include "../Url.h"
#include "Data/Stream/ReadWriteStream.h"
#include "Data/ObjectMap.h"
#include "http-parser/http_parser.h"
Go to the source code of this file.
◆ ENABLE_HTTP_REQUEST_AUTH
#define ENABLE_HTTP_REQUEST_AUTH 1 |
◆ HTTP_MAX_HEADER_SIZE
#define HTTP_MAX_HEADER_SIZE (8 * 1024) |
◆ HTTP_REQUEST_POOL_SIZE
#define HTTP_REQUEST_POOL_SIZE 20 |
◆ HttpFiles
◆ HttpMethod
◆ HttpConnectionState
Enumerator |
---|
eHCS_Ready | |
eHCS_StartSending | |
eHCS_SendingHeaders | |
eHCS_StartBody | |
eHCS_SendingBody | |
eHCS_Sent | |
◆ httpGetErrorDescription()
String httpGetErrorDescription |
( |
enum http_errno |
err | ) |
|
Return a descriptive string for the given error.
- Parameters
-
- Return values
-
◆ httpGetErrorName()
String httpGetErrorName |
( |
enum http_errno |
err | ) |
|
Return a string name of the given error.
- Parameters
-
- Return values
-
- Note
- This replaces the one in http_parser module which uses a load of RAM
◆ httpGetStatusText() [1/2]
String httpGetStatusText |
( |
enum http_status |
code | ) |
|
Return a descriptive string for an HTTP status code.
- Parameters
-
- Return values
-
◆ httpGetStatusText() [2/2]
static String httpGetStatusText |
( |
unsigned |
code | ) |
|
|
inlinestatic |
Return a descriptive string for an HTTP status code.
- Parameters
-
- Return values
-