connect

open fun connect(baseUri: String): Client

Create a default JDK client.

Parameters

baseUri

uri to connect to.


open fun connect(baseUri: String, options: RequestOptions): Client

Create a default JDK client.

Parameters

baseUri

uri to connect to

options

default options to use in all the requests.


open fun connect(baseUri: String, serdeFactory: SerdeFactory): Client

Create a default JDK client.

Parameters

baseUri

uri to connect to

serdeFactory

Serde factory to use. If you're just wrapping this client in a code-generated client, you don't need to provide this parameter.


open fun connect(baseUri: String, serdeFactory: SerdeFactory, options: RequestOptions): Client

Create a default JDK client.

Parameters

baseUri

uri to connect to

serdeFactory

Serde factory to use. If you're just wrapping this client in a code-generated client, you don't need to provide this parameter.

options

default options to use in all the requests.