OkHttpTransport

Built-in blocking and cancellable transport backed by one OkHttp request encoder.

Constructors

Link copied to clipboard
constructor(cfg: SdkConfig)

Creates a transport with the SDK response limits.

constructor(cfg: SdkConfig, jsonLimitBytes: Long, errorLimitBytes: Long, binaryLimitBytes: Long)

Creates a transport with explicit structured, error, and binary response limits.

Functions

Link copied to clipboard
open override fun execute(request: VmodalRequest): VmodalResponse

Executes request and returns a bounded response.

Link copied to clipboard

Starts request and returns a handle that cancels its underlying call.