Go to Latest
class ConnectionWrap
import { ConnectionWrap } from "https://dotland.deno.dev/std@0.177.0/node/internal_binding/connection_wrap.ts";

Constructors

new
ConnectionWrap(provider: providerType, object?:
& Ref
)

Creates a new ConnectionWrap class instance.

Properties

onconnection: ((status: number, handle?: ConnectionWrap) => void) | null

Optional connection callback.

Methods

afterConnect<T extends AsyncWrap & { oncomplete(
status: number,
req: T,
readable: boolean,
writeable: boolean,
): void; }
>
(req: T, status: number)