Single instance HTTP Server using WiFly Interface.

Dependents:   WiFlyHTTPServerSample MultiThreadingHTTPServer

Embed: (wiki syntax)

« Back to documentation index

HTTPConnection::HTTPMessage Struct Reference

HTTPConnection::HTTPMessage Struct Reference

HTTPMessage contains all the details of the request received by external HTTP client. More...

#include <HTTPConnection.h>

Data Fields

HTTPRequestType request
 Specifies the request type received.
std::string uri
 The uri associated with the request.
std::string version
 Contains the HTTP/1.1 or HTTP/1.0 version requested by client.
std::map< std::string,
std::string > 
headers
 Map of headers provided by the client in the form <HeaderName>:<HeaderValue>
std::map< std::string,
std::string > 
args
 Map of arguments that came with the uri string.

Detailed Description

HTTPMessage contains all the details of the request received by external HTTP client.

Definition at line 55 of file HTTPConnection.h.


Field Documentation

std::map<std::string, std::string> args

Map of arguments that came with the uri string.

Definition at line 71 of file HTTPConnection.h.

std::map<std::string, std::string> headers

Map of headers provided by the client in the form <HeaderName>:<HeaderValue>

Definition at line 68 of file HTTPConnection.h.

HTTPRequestType request

Specifies the request type received.

Definition at line 59 of file HTTPConnection.h.

std::string uri

The uri associated with the request.

Definition at line 62 of file HTTPConnection.h.

std::string version

Contains the HTTP/1.1 or HTTP/1.0 version requested by client.

Definition at line 65 of file HTTPConnection.h.