socksHandshakeTimeout
The socks handshake timed out.
static let socksHandshakeTimeout: HTTPClientErrorThe socks handshake timed out.
static let socksHandshakeTimeout: HTTPClientErrors15AsyncHTTPClient0B5ErrorV21socksHandshakeTimeoutACvpZ What are these?2URHZimport AsyncHTTPClientThis package provides simple HTTP Client library built on top of SwiftNIO.
struct HTTPClientErrorPossible client errors.
static let alreadyShutdown: HTTPClientErrorClient is shutdown and cannot be used for new requests.
static let bodyLengthMismatch: HTTPClientErrorBody length is not equal to Content-Length.
static let cancelled: HTTPClientErrorRequest was cancelled.
static let connectTimeout: HTTPClientErrorCreating a new tcp connection timed out
static let contentLengthMissing: HTTPClientErrorRequest does not contain Content-Length header.
static let deadlineExceeded: HTTPClientErrorThe request deadline was exceeded. The request was cancelled because of this.
static let emptyHost: HTTPClientErrorURL does not contain host.
static let emptyScheme: HTTPClientErrorURL does not contain scheme.
static let getConnectionFromPoolTimeout: HTTPClientErrorAquiring a HTTP connection from the connection pool timed out.
static let httpProxyHandshakeTimeout: HTTPClientErrorThe http proxy connection creation timed out.
static let identityCodingIncorrectlyPresent: HTTPClientErrorRequest contains invalid identity encoding.
static let invalidProxyResponse: HTTPClientErrorProxy response was invalid.
static let invalidURL: HTTPClientErrorURL provided is invalid.
static let missingSocketPath: HTTPClientErrorURL does not contain a socketPath as a host for http(s)+unix shemes.
static let proxyAuthenticationRequired: HTTPClientErrorProxy Authentication Required.
static let readTimeout: HTTPClientErrorRequest timed out while waiting for response.
static let redirectCycleDetected: HTTPClientErrorRedirect Cycle detected.
static let redirectLimitReached: HTTPClientErrorRedirect Limit reached.
static let remoteConnectionClosed: HTTPClientErrorRemote connection was closed unexpectedly.
static let requestStreamCancelled: HTTPClientErrorThe remote server responded with a status code >= 300, before the full request was sent. The request stream was therefore cancelled
static var shutdownUnsupported: HTTPClientError { get }The globally shared singleton HTTPClient cannot be shut down.
static let tlsHandshakeTimeout: HTTPClientErrorThe tls handshake timed out.
static let traceRequestWithBody: HTTPClientErrorA body was sent in a request with method TRACE.
static let uncleanShutdown: HTTPClientErrorUnclean shutdown.
static let writeAfterRequestSent: HTTPClientErrorBody part was written after request was fully sent.
static let writeTimeout: HTTPClientErrorRequest timed out.
static func invalidHeaderFieldNames(_ names: [String]) -> HTTPClientError Header field names contain invalid characters.
static func invalidHeaderFieldValues(_ values: [String]) -> HTTPClientError Header field values contain invalid characters.
static func serverOfferedUnsupportedApplicationProtocol(_ proto: String) -> HTTPClientError The remote server only offered an unsupported application protocol
static func unsupportedScheme(_ scheme: String) -> HTTPClientError Provided URL scheme is not supported, supported schemes are: http and https
var description: String { get }var shortDescription: String { get }Short description of the error that can be used in case a bounded set of error descriptions is expected, e.g. to include in metric labels. For this reason the description must not contain associated values.
static let chunkedSpecifiedMultipleTimes: HTTPClientErrorRequest contains multiple chunks definitions.
static let httpEndReceivedAfterHeadWith1xx: HTTPClientErrorstatic let incompatibleHeaders: HTTPClientErrorIncompatible headers specified, for example Transfer-Encoding and Content-Length.