class ConnectionWrap
extends LibuvStreamWrap
import { ConnectionWrap } from "https://deno.land/std@0.111.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(): void; }>(req: T, status: number): void