httpxx 0.1
Streaming HTTP Parser for C++

http::Method Class Reference

Enumeration of "well known" HTTP request methods. More...

#include <Method.hpp>

List of all members.

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 ()

Detailed Description

Enumeration of "well known" HTTP request methods.

Definition at line 18 of file Method.hpp.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Functions