HTTPMethod
public enum HTTPMethod : String
An HTTPMethod can be passed into CaffeineHTTPProxy.deny(…) to prevent a specific set of HTTP Methods from using Caffeine. If you are using custom HTTP Methods, please contact us at help@caffei.net to let us know.
-
The GET method.
swift CaffeineHTTPProxy.deny(.GET)
Declaration
Swift
case GET = "GET"
-
The POST method.
swift CaffeineHTTPProxy.deny(.POST)
Declaration
Swift
case POST = "POST"
-
The DELETE method.
swift CaffeineHTTPProxy.deny(.DELETE)
Declaration
Swift
case DELETE = "DELETE"
-
The OPTIONS method.
swift CaffeineHTTPProxy.deny(.OPTIONS)
Declaration
Swift
case OPTIONS = "OPTIONS"
-
The HEAD method.
swift CaffeineHTTPProxy.deny(.HEAD)
Declaration
Swift
case HEAD = "HEAD"
-
The PUT method.
swift CaffeineHTTPProxy.deny(.PUT)
Declaration
Swift
case PUT = "PUT"
-
The CONNECT method.
swift CaffeineHTTPProxy.deny(.CONNECT)
Declaration
Swift
case CONNECT = "CONNECT"