UserStreamHandler

class UserStreamHandler(val client: ApiClient, val listener: UserStreamListener) : StreamHandler<UserStreamListener>

Default UserStream StreamHandler. Accepts listener of UserStreamListener.

Constructors

Link copied to clipboard
fun UserStreamHandler(client: ApiClient, listener: UserStreamListener)

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: UserStreamListener

StreamListener.