HTTPMethod

public enum HTTPMethod : String

HTTP method definitions.

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

  • CONNECT method.

    Declaration

    Swift

    case connect = "CONNECT"
  • DELETE method.

    Declaration

    Swift

    case delete = "DELETE"
  • get

    GET method.

    Declaration

    Swift

    case get = "GET"
  • HEAD method.

    Declaration

    Swift

    case head = "HEAD"
  • OPTIONS method.

    Declaration

    Swift

    case options = "OPTIONS"
  • PATCH method.

    Declaration

    Swift

    case patch = "PATCH"
  • POST method.

    Declaration

    Swift

    case post = "POST"
  • put

    PUT method.

    Declaration

    Swift

    case put = "PUT"
  • TRACE method.

    Declaration

    Swift

    case trace = "TRACE"