Interface ConnectionHandler
Properties
onOpen
onOpen: undefined | ((connection: Remote<Connection>,
localAddr: string,
remoteAddr: string,
c: Remote<ConnectionHandler>) => PromiseVow<void>) onReceive
onReceive: undefined | ((connection: Remote<Connection>,
ack: string,
c: Remote<ConnectionHandler>,
opts?: Record<string, any>) => PromiseVow<string>)
A handler for a given Connection