object Companion
source · line 59public
public companion
Factories for explicitly owned client/server codec instances.
function client
source · line 63public
public fun client(options: Http1ReceiveOptions = Http1ReceiveOptions(), limits: Http1Limits = Http1Limits()): Http1Decoder
Creates a client codec with the selected receive options and local limits.
parameter limits
source · line 65public
limits: Http1Limits = Http1Limits()
parameter options
source · line 64public
options: Http1ReceiveOptions = Http1ReceiveOptions()
function server
source · line 71public
public fun server(options: Http1ReceiveOptions = Http1ReceiveOptions(), limits: Http1Limits = Http1Limits()): Http1Decoder
Creates a server codec with the selected receive options and local limits.
parameter options
source · line 72public
options: Http1ReceiveOptions = Http1ReceiveOptions()
parameter limits
source · line 73public
limits: Http1Limits = Http1Limits()