httpxx 0.1
Streaming HTTP Parser for C++
|
Enumeration of "well known" HTTP request methods. More...
#include <Method.hpp>
Public Member Functions | |
bool | operator== (const Method &rhs) const |
bool | operator!= (const Method &rhs) const |
Static Public Member Functions | |
static const Method | of (const ::http_parser &parser) |
Extract the method set in parser. | |
static const Method | del () |
Delete the resource. | |
static const Method | get () |
Fetch the resource. | |
static const Method | head () |
Like GET, but don't send a response body (headers only). | |
static const Method | post () |
Submit information about the resource. | |
static const Method | put () |
Replace the resource. | |
static const Method | patch () |
Partially update the resource (RFC 5789). | |
static const Method | connect () |
Establish a connection for tunnelling another protocol. | |
static const Method | options () |
Fetch requirements or capabilities w/ respect to the URI. | |
static const Method | trace () |
Echo request as response body. | |
static const Method | copy () |
static const Method | lock () |
static const Method | mkcol () |
static const Method | move () |
static const Method | propfind () |
static const Method | proppatch () |
static const Method | unlock () |
static const Method | report () |
static const Method | mkactivity () |
static const Method | checkout () |
static const Method | merge () |
static const Method | msearch () |
static const Method | notify () |
static const Method | subscribe () |
static const Method | unsubscribe () |
Enumeration of "well known" HTTP request methods.
Definition at line 18 of file Method.hpp.
const Method http::Method::trace | ( | ) | [static] |
Echo request as response body.
The TRACE method is used for network diagnostics (e.g. to detect proxies and gateways) and for testing, to check what is received at the other end of the connection.
Definition at line 53 of file Method.cpp.