跳到主要内容
版本:Next

WSEventInfo

Index

Properties

descriptor

descriptor: PropertyDescriptor

optionaleventOptions

eventOptions?: { middleware?: MiddlewareParamArray }

event options, like middleware

eventType

eventType: WSEventTypeEnum

web socket event name in enum

optionalmessageEventName

messageEventName?: string

the event name by user definition

propertyName

propertyName: string

decorator method name

optionalroomName

roomName?: string[]

the room name to emit