OptionalonClose: (event: unknown) => voidOptionaladdress: ConnectionAddress
Optional ReadonlyaddressNode this connection's WebSocket is connected to; undefined when the WebSocket URL was configured explicitly.
OptionalgetCancel: (cancel?: Cancelable) => void
Node this connection's WebSocket is connected to; undefined when the WebSocket URL was configured explicitly.