Package-level declarations
Types
An exception used to indicate a correct/normal closure of a connection or stream. This is typically used in WebSocket or network communication scenarios where a clean shutdown needs to be distinguished from error conditions.
Type alias representing a date-time range with optional start and end times. First element is the "from" date-time, second is the "to" date-time.
A function type that provides an Input instance. This is useful for lazy or deferred input creation in Ktor operations.
Type alias for the standard serialization format used in Ktor utilities, which is BinaryFormat.
Type alias for the standard serialization input data type, which is ByteArray.
A value class representing a unique identifier for a temporal file. Temporal files are typically used for temporary storage during file upload/processing operations.
Properties
Converts this string to a correct WebSocket URL by ensuring it starts with "ws://" scheme. If the URL already starts with "ws", it is returned unchanged. If the URL contains a scheme (e.g., "http://"), it is replaced with "ws://". If the URL has no scheme, "ws://" is prepended.
Converts this FromToDateTime range to URL query parameters. Creates "from" and "to" query parameters with Unix millisecond timestamps.
Create query part which includes key=value pairs separated with &
The default subdirectory path for storing temporal files during upload operations.
Extracts a FromToDateTime range from URL query parameters. Looks for "from" and "to" parameters containing Unix millisecond timestamps.
Parses this URL query string into a QueryParams map. Splits on '&' to separate parameters and '=' to separate keys from values. Parameters without values will have null as their value.
The standard Ktor serialization format instance, configured as CBOR.
Functions
Builds a standard URL by combining a base part, subpart, and query parameters as a list. The base and subpart are joined with a '/', and query parameters are appended.
Builds a standard URL by combining a base part, subpart, and optional query parameters. The base and subpart are joined with a '/', and query parameters are appended.
Builds a standard URL by combining a base part, subpart, and vararg query parameters. The base and subpart are joined with a '/', and query parameters are appended.
Decodes data from StandardKtorSerialInputData using the standard format.
Encodes data to StandardKtorSerialInputData using the standard format.
Create query part which includes key=value pairs separated with & and attach to receiver
Creates a Ktor Input from this multiplatform file. Platform-specific implementations handle file reading for each supported platform.
Creates a Ktor Input from this multiplatform file. Platform-specific implementations handle file reading for each supported platform.