Package com.rnett.krosstalk.ktor.client

A basic Krosstalk client implementation using Ktor. See module description.

Types

Link copied to clipboard
class KtorClient(baseClient: HttpClient, baseRequest: HttpRequestBuilder.() -> Unit) : ClientHandler<KtorClientScope<*>>

A Krosstalk client using a Ktor HttpClient to make requests.

Link copied to clipboard
fun interface KtorClientHeaderScope<D> : KtorClientScope<D>

A Ktor client scope that only adds headers.

Link copied to clipboard
interface KtorClientScope<in D> : ClientScope<D>

A Ktor client scope. Allows configuration of the client and of the request. Note that a new client is used for each request.

Link copied to clipboard
interface KtorKrosstalkClient : KrosstalkClient<KtorClientScope<*>>