SampleStreamHandler

class SampleStreamHandler(val client: ApiClient, val listener: SampleStreamListener) : StreamHandler<SampleStreamListener>

Default SampleStream StreamHandler. Accepts listener of SampleStreamListener.

Constructors

Link copied to clipboard
fun SampleStreamHandler(client: ApiClient, listener: SampleStreamListener)

Functions

Link copied to clipboard
open suspend override fun handle(json: JsonObject)

Handles streaming payload JSON.

Properties

Link copied to clipboard
open override val client: ApiClient

Current ApiClient.

Link copied to clipboard
open override val listener: SampleStreamListener

StreamListener.