Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
class WireProtocol
import { WireProtocol } from "https://deno.land/x/mongo@v0.31.1/src/protocol/protocol.ts";

Constructors

new
WireProtocol(socket: Socket)

Methods

private
receive()
private
send()
command<T = Document>(db: string, body: Document): Promise<T[]>
commandSingle<T = Document>(db: string, body: Document): Promise<T>