connectGotChunk

fun connectGotChunk(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (<Error class: unknown class>) -> Unit): <Error class: unknown class>

Emitted after receiving a chunk of a message body.

Note that "chunk" in this context means any subpiece of the body, not necessarily the specific HTTP 1.1 chunks sent by the other side.

Parameters

connectFlags

A combination of ConnectFlags

handler

the Callback to connect. Params: chunk the just-read chunk