MACE  1.0.0
 All Classes Namespaces Files Functions Variables Enumerations Defines
Public Member Functions | Public Attributes | Friends
mace::rpc::http::request Struct Reference

A request received from a client.

#include <request.hpp>

List of all members.

Public Member Functions

 request (request &&m)

Public Attributes

std::string method
 The request method, e.g. "GET", "POST".
bool keep_alive
std::string uri
 The requested URI, such as a path to a file.
int http_version_major
 Major version number, usually 1.
int http_version_minor
 Minor version number, usually 0 or 1.
std::vector< header > headers
 The headers included with the request.
std::string content
 The optional content sent with the request.

Friends

requestoperator<< (request &r, const header &h)
requestoperator<< (request &r, header &&h)
request operator<< (request &&r, header &&h)
requestoperator<< (request &r, http::content &&h)
request operator<< (request &&r, http::content &&h)
template<typename Stream >
Stream & operator<< (Stream &s, const request &r)

Detailed Description

Definition at line 42 of file request.hpp.


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