Skip to main content

Module method

Module method 

Source
Expand description

HTTP method types for type-level route encoding.

Each HTTP method is a zero-sized type implementing HttpMethod. These are used as the M parameter in Endpoint<M, P, Req, Res>.

Structs§

Delete
HTTP DELETE method.
Get
HTTP GET method.
Head
HTTP HEAD method.
Options
HTTP OPTIONS method.
Patch
HTTP PATCH method.
Post
HTTP POST method.
Put
HTTP PUT method.

Traits§

HttpMethod
Associates a zero-sized method type with its http::Method value.