Package io.ktor.http.cio.internals

Types

Link copied to clipboard
class MutableRange(start: Int, end: Int)

Represents a text range with mutable bounds

Link copied to clipboard
class WeakTimeoutQueue(timeoutMillis: Long, clock: () -> Long)

It provides ability to cancel jobs and schedule coroutine with timeout. Unlike regular withTimeout this implementation is never scheduling timer tasks but only checks for current time. This makes timeout measurement much cheaper and doesn't require any watchdog thread.