Enum api::Method [] [src]

pub enum Method {
    Get,
    Head,
    Post,
    Put,
    Delete,
    Patch,
    Options,
    Trace,
    Connect,
    Custom(String),
}

Enum with all the standard HTTP methods. It also has a variant Custom to support non-standard methods.

Variants

Trait Implementations

impl ToString for Method
[src]

Returns a string representing the HTTP method.