HTTPMethod

public enum HTTPMethod

HTTP Verbs

  • get
    • verb: GET

    Declaration

    Swift

    case get
    • verb: HEAD

    Declaration

    Swift

    case head
    • verb: POST

    Declaration

    Swift

    case post
  • put
    • verb: PUT

    Declaration

    Swift

    case put
    • verb: DELETE

    Declaration

    Swift

    case delete
    • verb: CONNECT

    Declaration

    Swift

    case connect
    • verb: OPTIONS

    Declaration

    Swift

    case options
    • verb: TRACE

    Declaration

    Swift

    case trace
    • verb: PATCH

    Declaration

    Swift

    case patch
  • Transform String to HTTP Method

    Declaration

    Swift

    public init?(rawValue: RawValue)
  • Transform to HTTP verb string

    Declaration

    Swift

    public var rawValue: RawValue