Skip to content

Type Alias: ServiceContextParams ​

ServiceContextParams = object

The parameters creating a ServiceContext, given by the service adapters (which may add their own, such as the Socket.IO socket).

Properties ​

clientId? ​

readonly optional clientId?: string

The id of the client of the request, which Entrypoint.notify() pushes the events to; omitted for the transports without clients.


data ​

readonly data: ActionPattern

The message received: an object, matched against the actions' patterns.

Released under the MIT License.