Package io.ktor.client.network.sockets

Types

Link copied to clipboard
expect class ConnectTimeoutException(message: String, cause: Throwable?) : IOException

This exception is thrown in case connect timeout exceeded.

actual class ConnectTimeoutException(message: String, cause: Throwable?) : IOException

This exception is thrown in case connect timeout exceeded.

actual class ConnectTimeoutException(message: String, cause: Throwable?) : ConnectException

This exception is thrown in case connect timeout exceeded.

actual class ConnectTimeoutException(message: String, cause: Throwable?) : IOException

This exception is thrown in case connect timeout exceeded.

Link copied to clipboard
expect class SocketTimeoutException(message: String, cause: Throwable?) : IOException

This exception is thrown in case socket timeout (read or write) exceeded.

actual class SocketTimeoutException(message: String, cause: Throwable?) : IOException

This exception is thrown in case socket timeout (read or write) exceeded.

actual class SocketTimeoutException(message: String, cause: Throwable?) : SocketTimeoutException

This exception is thrown in case socket timeout (read or write) exceeded.

actual class SocketTimeoutException(message: String, cause: Throwable?) : IOException

This exception is thrown in case socket timeout (read or write) exceeded.

Functions

Link copied to clipboard
fun CoroutineScope.mapEngineExceptions(input: ByteReadChannel, request: HttpRequestData): ByteReadChannel
fun CoroutineScope.mapEngineExceptions(output: ByteWriteChannel, request: HttpRequestData): ByteWriteChannel