HTTPMethod

public struct HTTPMethod

HTTP method structure

  • HTTP method

    Declaration

    Swift

    public let method: String
  • Creates an HTTP method

    Declaration

    Swift

    public init(_ method: String)
  • DELETE method.

    Declaration

    Swift

    public static let delete = HTTPMethod("DELETE")
  • get

    GET method.

    Declaration

    Swift

    public static let get = HTTPMethod("GET")
  • HEAD method.

    Declaration

    Swift

    public static let head = HTTPMethod("HEAD")
  • POST method.

    Declaration

    Swift

    public static let post = HTTPMethod("POST")
  • put

    PUT method.

    Declaration

    Swift

    public static let put = HTTPMethod("PUT")
  • CONNECT method.

    Declaration

    Swift

    public static let connect = HTTPMethod("CONNECT")
  • OPTIONS method.

    Declaration

    Swift

    public static let options = HTTPMethod("OPTIONS")
  • TRACE method.

    Declaration

    Swift

    public static let trace = HTTPMethod("TRACE")
  • COPY method.

    Declaration

    Swift

    public static let copy = HTTPMethod("COPY")
  • LOCK method.

    Declaration

    Swift

    public static let lock = HTTPMethod("LOCK")
  • MKCOL method.

    Declaration

    Swift

    public static let mkol = HTTPMethod("MKCOL")
  • MOVE method.

    Declaration

    Swift

    public static let move = HTTPMethod("MOVE")
  • PROPFIND method.

    Declaration

    Swift

    public static let propfind = HTTPMethod("PROPFIND")
  • PROPPATCH method.

    Declaration

    Swift

    public static let proppatch = HTTPMethod("PROPPATCH")
  • SEARCH method.

    Declaration

    Swift

    public static let search = HTTPMethod("SEARCH")
  • UNLOCK method.

    Declaration

    Swift

    public static let unlock = HTTPMethod("UNLOCK")
  • BIND method.

    Declaration

    Swift

    public static let bind = HTTPMethod("BIND")
  • REBIND method.

    Declaration

    Swift

    public static let rebind = HTTPMethod("REBIND")
  • UNBIND method.

    Declaration

    Swift

    public static let unbind = HTTPMethod("UNBIND")
  • acl

    ACL method.

    Declaration

    Swift

    public static let acl = HTTPMethod("ACL")
  • REPORT method.

    Declaration

    Swift

    public static let report = HTTPMethod("REPORT")
  • MKACTIVITY method.

    Declaration

    Swift

    public static let mkactivity = HTTPMethod("MKACTIVITY")
  • CHECKOUT method.

    Declaration

    Swift

    public static let checkout = HTTPMethod("CHECKOUT")
  • MERGE method.

    Declaration

    Swift

    public static let merge = HTTPMethod("MERGE")
  • MSEARCH method.

    Declaration

    Swift

    public static let msearch = HTTPMethod("MSEARCH")
  • NOTIFY method.

    Declaration

    Swift

    public static let notify = HTTPMethod("NOTIFY")
  • SUBSCRIBE method.

    Declaration

    Swift

    public static let subscribe = HTTPMethod("SUBSCRIBE")
  • UNSUBSCRIBE method.

    Declaration

    Swift

    public static let unsubscribe = HTTPMethod("UNSUBSCRIBE")
  • PATCH method.

    Declaration

    Swift

    public static let patch = HTTPMethod("PATCH")
  • PURGE method.

    Declaration

    Swift

    public static let purge = HTTPMethod("PURGE")
  • MKCALENDAR method.

    Declaration

    Swift

    public static let mkcalendar = HTTPMethod("MKCALENDAR")
  • LINK method.

    Declaration

    Swift

    public static let link = HTTPMethod("LINK")
  • UNLINK method.

    Declaration

    Swift

    public static let unlink = HTTPMethod("UNLINK")
  • Declaration

    Swift

    public var hashValue: Int