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?
readonlyoptionalclientId?:string
The id of the client of the request, which Entrypoint.notify() pushes the events to; omitted for the transports without clients.
data
readonlydata:ActionPattern
The message received: an object, matched against the actions' patterns.