TweetstormHandler

class TweetstormHandler(val client: ApiClient, val listener: TweetstormListener) : StreamHandler<TweetstormListener>

Default TweetStorm StreamHandler. Accepts listener of TweetstormListener.

Constructors

Link copied to clipboard
fun TweetstormHandler(client: ApiClient, listener: TweetstormListener)

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

StreamListener.