Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class GetAddrInfoReqWrap
extends AsyncWrap
import { GetAddrInfoReqWrap } from "https://deno.land/std@0.161.0/node/internal_binding/cares_wrap.ts";

Constructors

new
GetAddrInfoReqWrap()

Properties

callback: (
err: ErrnoException | null,
addressOrAddresses?: string | LookupAddress[] | null,
family?: number,
) => void
family: number
hostname: string
oncomplete: (err: number | null, addresses: string[]) => void
reject: (err: ErrnoException | null) => void
resolve: (addressOrAddresses: LookupAddress | LookupAddress[]) => void