import { WsTransport } from "https://deno.land/x/natsws@v1.29.2/src/ws_transport.ts";
Properties
private
socket: WebSocketMethods
private
_closed(err?: Error, internal?): Promise<void>close(err?: Error | undefined): Promise<void>
closed(): Promise<void | Error>
connect(server: Server, options: WsConnectionOptions): Promise<void>
discard()
disconnect(): void
isDiscarded(): boolean
isEncrypted(): boolean
iterate(): AsyncIterableIterator<Uint8Array>
send(frame: Uint8Array): void