FastCGIParserErrorType
public enum FastCGIParserErrorType
HTTP parser error type. Used when parsing requests from a FastCGI server instance.
Usage Example:
//Parse the request from FastCGI and pass back an error type.
func parse (_ callback: (FastCGIParserErrorType) -> Void) {
...
}
-
Parser was successful.
Declaration
Swift
case success
-
Error with the protocol when parsing.
Declaration
Swift
case protocolError
-
Error with invalid types when parsing.
Declaration
Swift
case invalidType
-
Error with client disconnecting when parsing.
Declaration
Swift
case clientDisconnect
-
Error with an unsupported role when parsing.
Declaration
Swift
case unsupportedRole
-
An internal error.
Declaration
Swift
case internalError