of

open fun of(httpClient: HttpClient, baseUri: String, @Nullable serdeFactory: @Nullable SerdeFactory, @Nullable options: @Nullable RequestOptions): JdkClient
open fun of(baseUri: String, @Nullable serdeFactory: @Nullable SerdeFactory, @Nullable options: @Nullable RequestOptions): JdkClient

Create a new JDK Client


open fun of(httpClient: HttpClient, baseUri: String, @Nullable serdeFactory: @Nullable SerdeFactory, @Nullable payloadCodec: @Nullable PayloadCodec, @Nullable options: @Nullable RequestOptions): JdkClient
open fun of(baseUri: String, @Nullable serdeFactory: @Nullable SerdeFactory, @Nullable payloadCodec: @Nullable PayloadCodec, @Nullable options: @Nullable RequestOptions): JdkClient

Create a new JDK Client.

Parameters

payloadCodec

codec used to encode request bodies and decode response bodies. It must match the codec configured on the services invoked through this client.