evhttp_cmd_type

The different request types supported by evhttp. These are as specified in RFC2616, except for PATCH which is specified by RFC5789.

By default, only some of these methods are accepted and passed to user callbacks; use evhttp_set_allowed_methods() to change which methods are allowed.

Values

ValueMeaning
EVHTTP_REQ_GET1 << 0
EVHTTP_REQ_POST1 << 1
EVHTTP_REQ_HEAD1 << 2
EVHTTP_REQ_PUT1 << 3
EVHTTP_REQ_DELETE1 << 4
EVHTTP_REQ_OPTIONS1 << 5
EVHTTP_REQ_TRACE1 << 6
EVHTTP_REQ_CONNECT1 << 7
EVHTTP_REQ_PATCH1 << 8

Meta