Enum minreq::Method
[−]
[src]
pub enum Method { Get, Head, Post, Put, Delete, Connect, Options, Trace, Patch, Custom(String), }
An HTTP request method.
Variants
Get
The GET method
Head
The HEAD method
Post
The POST method
Put
The PUT method
Delete
The DELETE method
Connect
The CONNECT method
Options
The OPTIONS method
Trace
The TRACE method
Patch
The PATCH method
Custom(String)
A custom method, use with care: the string will be embedded in your request as-is.