Js
A JavaScript client engine that uses the fetch API to execute requests.
To create the client with this engine, pass it to the HttpClient
constructor:
val client = HttpClient(Js)
Content copied to clipboard
You can also call the JsClient function to get the Js engine singleton:
val client = JsClient()
Content copied to clipboard
You can learn more about client engines from Engines.
Functions
Link copied to clipboard
open override fun create(block: HttpClientEngineConfig.() -> Unit): HttpClientEngine
Content copied to clipboard
Creates a new HttpClientEngine optionally specifying a block configuring T.