Properties
onClose
onClose: undefined | ((connection, reason?, c?) => PromiseVow<void>)
Type declaration
- (connection, reason?, c?): PromiseVow<void>
Returns PromiseVow<void>
onOpen
onOpen: undefined | ((connection, localAddr, remoteAddr, c) => PromiseVow<void>)
Type declaration
- (connection, localAddr, remoteAddr, c): PromiseVow<void>
Returns PromiseVow<void>
onReceive
onReceive: undefined | ((connection, ack, c, opts?) => PromiseVow<string>)
Type declaration
- (connection, ack, c, opts?): PromiseVow<string>
Returns PromiseVow<string>
A handler for a given Connection