HTTPMethod

public enum HTTPMethod: String

HTTP method definitions.

See https://tools.ietf.org/html/rfc7231#section-4.3

  • Undocumented

    Declaration

    Swift

    case options = "OPTIONS"
  • get

    Undocumented

    Declaration

    Swift

    case get     = "GET"
  • Undocumented

    Declaration

    Swift

    case head    = "HEAD"
  • Undocumented

    Declaration

    Swift

    case post    = "POST"
  • put

    Undocumented

    Declaration

    Swift

    case put     = "PUT"
  • Undocumented

    Declaration

    Swift

    case patch   = "PATCH"
  • Undocumented

    Declaration

    Swift

    case delete  = "DELETE"
  • Undocumented

    Declaration

    Swift

    case trace   = "TRACE"
  • Undocumented

    Declaration

    Swift

    case connect = "CONNECT"