Properties
close
close: (() => PromiseVow<void>)
Type declaration
- (): PromiseVow<void>
Returns PromiseVow<void>
getLocalAddress
getLocalAddress: (() => string)
getRemoteAddress
getRemoteAddress: (() => string)
send
send: ((packetBytes, opts?) => PromiseVow<string>)
Type declaration
- (packetBytes, opts?): PromiseVow<string>
Parameters
- packetBytes: string
Optional
opts: Record<string, any>
Returns PromiseVow<string>
Close both ends of the connection