MonitoringEvent

class MonitoringEvent<Param : Any, Event : EventDefinition<Param>>(event: Event) : ClientHook<(Param) -> Unit> (source)

A shortcut hook for HttpClient.monitor subscription.

Report a problem

Constructors

Link copied to clipboard
constructor(event: Event)

Functions

Link copied to clipboard
open override fun install(client: HttpClient, handler: (Param) -> Unit)

Specifies how to install a hook into client.