class WsTransport
implements Transport
import { WsTransport } from "https://deno.land/x/natsws@v1.28.0/src/ws_transport.ts";
Properties
Methods
private
_closed(err?: Error, internal?): Promise<void>close(err?: Error | undefined): Promise<void>
closed(): Promise<void | Error>
discard()
disconnect(): void
isDiscarded(): boolean
isEncrypted(): boolean
iterate(): AsyncIterableIterator<Uint8Array>
send(frame: Uint8Array): void