pub type RequestMethod = Method;
Expand description
An alias for Method
, representing the HTTP request method.
Aliased Type§
pub enum RequestMethod {
GET,
POST,
PUT,
DELETE,
PATCH,
HEAD,
OPTIONS,
CONNECT,
TRACE,
UNKNOWN(String),
}
Variants§
GET
Represents the HTTP GET
method.
POST
Represents the HTTP POST
method.
PUT
Represents the HTTP PUT
method.
DELETE
Represents the HTTP DELETE
method.
PATCH
Represents the HTTP PATCH
method.
HEAD
Represents the HTTP HEAD
method.
OPTIONS
Represents the HTTP OPTIONS
method.
CONNECT
Represents the HTTP CONNECT
method.
TRACE
Represents the HTTP TRACE
method.
UNKNOWN(String)
Unknown