HTTPMethod

public enum HTTPMethod : String

HTTP methods specified in a Request object.

  • get: The GET method.
  • post: The POST method.
  • put: The PUT method.
  • delete: The DELETE method.
  • get

    The GET method.

    Declaration

    Swift

    case get = "GET"
  • The POST method.

    Declaration

    Swift

    case post = "POST"
  • put

    The PUT method.

    Declaration

    Swift

    case put = "PUT"
  • The DELETE method.

    Declaration

    Swift

    case delete = "DELETE"