Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebPubSubEventHandlerOptions

Package version

The options for the CloudEvents handler.

Hierarchy

  • WebPubSubEventHandlerOptions

Index

Properties

Optional dumpRequest

dumpRequest: undefined | false | true

Configures if you'd like to dump the incoming HTTP request.

Optional handleConnect

handleConnect: undefined | ((connectRequest: ConnectRequest, connectResponse: ConnectResponseHandler) => void)

Handle 'connect' event, the service waits for the response to proceed.

Optional handleUserEvent

handleUserEvent: undefined | ((userEventRequest: UserEventRequest, userEventResponse: UserEventResponseHandler) => void)

Handle user events, the service waits for the response to proceed.

Optional onConnected

onConnected: undefined | ((connectedRequest: ConnectedRequest) => void)

Event trigger for "connected" unblocking event. This is an unblocking event and the service does not wait for the response.

Optional onDisconnected

onDisconnected: undefined | ((disconnectedRequest: DisconnectedRequest) => void)

Event triggers for "disconnected" unblocking event. This is an unblocking event and the service does not wait for the response.

Optional path

path: undefined | string

Custom serving path for the path of the CloudEvents handler.

Generated using TypeDoc