HTTPMethod - SwiftDocOrg/Alamofire GitHub Wiki
HTTPMethod
Type representing HTTP methods. Raw String value is stored and compared case-sensitively, so
HTTPMethod.get != HTTPMethod(rawValue: "get").
public struct HTTPMethod: RawRepresentable, Equatable, Hashable
See https://tools.ietf.org/html/rfc7231#section-4.3
Inheritance
Equatable, Hashable, RawRepresentable
Initializers
init(rawValue:)
public init(rawValue: String)
Properties
connect
CONNECT method.
let connect
delete
DELETE method.
let delete
get
GET method.
let get
head
HEAD method.
let head
options
OPTIONS method.
let options
patch
PATCH method.
let patch
post
POST method.
let post
put
PUT method.
let put
trace
TRACE method.
let trace
rawValue
let rawValue: String