typed_headers/method

Types

pub type Method {
  GET
  POST
  PUT
  PATCH
  DELETE
  HEAD
  OPTIONS
  TRACE
  CONNECT
  Custom(String)
}

Constructors

  • GET
  • POST
  • PUT
  • PATCH
  • DELETE
  • HEAD
  • OPTIONS
  • TRACE
  • CONNECT
  • Custom(String)

Functions

pub fn to_string(method: Method) -> String
Search Document