Module finchers_http::method [] [src]

Components for checking the HTTP method.

Structs

MatchDelete
MatchGet
MatchHead
MatchMethod
MatchPatch
MatchPost
MatchPut

Functions

delete

Create an endpoint which will accept the request only if the request method is equal to DELETE.

get

Create an endpoint which will accept the request only if the request method is equal to GET.

head

Create an endpoint which will accept the request only if the request method is equal to HEAD.

method

Create an endpoint which will accept the request only if the request method is equal to the expected one.

patch

Create an endpoint which will accept the request only if the request method is equal to PATCH.

post

Create an endpoint which will accept the request only if the request method is equal to POST.

put

Create an endpoint which will accept the request only if the request method is equal to PUT.