Back to Alamofire

HTTPMethod

docs/Enums/HTTPMethod.html

5.12.01.3 KB
Original Source

HTTPMethod

public enum HTTPMethod : String

HTTP method definitions.

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

`

                connect
                `

CONNECT method.

Declaration

Swift

case connect = "CONNECT"

`

                delete
                `

DELETE method.

Declaration

Swift

case delete = "DELETE"

`

                get
                `

GET method.

Declaration

Swift

case get = "GET"

`

                head
                `

HEAD method.

Declaration

Swift

case head = "HEAD"

`

                options
                `

OPTIONS method.

Declaration

Swift

case options = "OPTIONS"

`

                patch
                `

PATCH method.

Declaration

Swift

case patch = "PATCH"

`

                post
                `

POST method.

Declaration

Swift

case post = "POST"

`

                put
                `

PUT method.

Declaration

Swift

case put = "PUT"

`

                trace
                `

TRACE method.

Declaration

Swift

case trace = "TRACE"