Package-level declarations

Types

Link copied to clipboard

HTTP method used by every networking event (SendNetworkRequest, UploadFile, the download events, GetScreen/RefreshScreen) — converted to Ktor's own HttpMethod via HttpMethod.toKtorHttpMethod() on the client. A GET sent with a non-null body fails validation client-side (GetRequestWithBodyException) rather than being sent as-is.

Link copied to clipboard
@Serializable
data class TimeoutsSchema(val requestTimeoutMillis: Long? = null, val connectTimeoutMillis: Long? = null, val socketTimeoutMillis: Long? = null)

Per-request timeout overrides for the networking events that talk to a backend (SendNetworkRequest, GetScreen, RefreshScreen, DownloadFile, DownloadFileToDisk, DownloadFileToMemory, UploadFile), mapped one-to-one onto Ktor's HttpTimeout on the client. Every field is optional: a null keeps the client's default for that timeout.