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