Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
cantResolve
Request failed while resolving.
HTTPRequest.swift:39case cantResolve
Other cases
case success
Request successful.
case chunkedBodySizeMismatch
case cantConnect
Request failed while connecting.
case connectionError
Request failed due to connection (read/write) error.
case tlsHandshakeError
Request failed on TLS handshake.
case noResponse
Request does not have a response (yet).
case bodySizeLimitExceeded
Request exceeded its maximum size limit, see
bodySizeLimit
.case bodyDecompressFailed
case requestFailed
Request failed (currently unused).
case downloadFileCantOpen
HTTPRequest couldn’t open the download file.
case downloadFileWriteError
HTTPRequest couldn’t write to the download file.
case redirectLimitReached
Request reached its maximum redirect limit, see
maxRedirects
.case timeout
Request failed due to a timeout. If you expect requests to take a long time, try increasing the value of
timeout
or setting it to0.0
to remove the timeout completely.