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

Constructors

new
ConnectionWrap(provider: providerType, object?: Deno.Reader & Deno.Writer & Deno.Closer)

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): void