HTTP Request
-
A structure representing the headers from a HTTP request, without the body of the request.
See moreDeclaration
Swift
public struct HTTPRequest -
Method that takes a chunk of request body and is expected to write to the
HTTPResponseWriterDeclaration
Swift
public typealias HTTPBodyHandler = (HTTPBodyChunk, inout Bool) -> VoidParameters
HTTPBodyChunkHTTPBodyChunkrepresenting some or all of the incoming request bodyBoolA boolean flag that can be set to true in order to prevent further processing
-
Indicates whether the body is going to be processed or ignored
See moreDeclaration
Swift
public enum HTTPBodyProcessing -
Part or all of the incoming request body
See moreDeclaration
Swift
public enum HTTPBodyChunk
-
HTTP method structure
See moreDeclaration
Swift
public struct HTTPMethod
View on GitHub
HTTP Request Reference