HTTPMethod

public enum HTTPMethod : String

HTTP method definitions.

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

  • Declaration

    Swift

    case options = "OPTIONS"
  • get

    Declaration

    Swift

    case get = "GET"
  • Declaration

    Swift

    case head = "HEAD"
  • Declaration

    Swift

    case post = "POST"
  • put

    Declaration

    Swift

    case put = "PUT"
  • Declaration

    Swift

    case patch = "PATCH"
  • Declaration

    Swift

    case delete = "DELETE"
  • Declaration

    Swift

    case trace = "TRACE"
  • Declaration

    Swift

    case connect = "CONNECT"