You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zaphoyd edited this page Nov 27, 2011
·
1 revision
@class websocketpp::http::request_writer@ provides functionality for writing HTTP requests.
h3. Types
See "@websocketpp::http@":/zaphoyd/websocketpp/wiki/websocketpp::http for types defined globally for the @websocketpp::http@ module.
h3. Member functions
| Signature | Description |
| @request(const std::string& method, const std::string& uri)@ | Construct a request initialized with the given method and uri. |
| @void set_header(const std::string& key, const std::string& value)@ | sets header with key @key@ to @value@ |
| @std::string get_method() const@ | Returns the value of the current HTTP request method. E.g. GET, POST, etc |
| @std::string get_uri() const@ | Returns the value of the current HTTP request uri/resource |
| @std::string get_request() const@ | Compiles the current request and returns the raw source HTTP request source. |