HubEventHandler

data class HubEventHandler(val auth: HubEventHandlerAuth? = null, val systemEvents: List<String>? = null, val urlTemplate: String, val userEventPattern: String? = null)

Constructors

Link copied to clipboard
constructor(auth: HubEventHandlerAuth? = null, systemEvents: List<String>? = null, urlTemplate: String, userEventPattern: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An auth block as defined below.

Link copied to clipboard
val systemEvents: List<String>? = null

Specifies the list of system events. Supported values are connect, connected and disconnected.

Link copied to clipboard

The Event Handler URL Template. Two predefined parameters {hub} and {event} are available to use in the template. The value of the EventHandler URL is dynamically calculated when the client request comes in. Example: http://example.com/api/{hub}/{event}.

Link copied to clipboard

Specifies the matching event names. There are 3 kind of patterns supported: * * matches any event name * , Combine multiple events with , for example event1,event2, it matches event event1 and event2 * The single event name, for example event1, it matches event1.