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 QueryReqWrap
extends AsyncWrap
import { QueryReqWrap } from "https://deno.land/std@0.172.0/node/internal_binding/cares_wrap.ts";

Constructors

new
QueryReqWrap()

Properties

bindingName: string
callback: (err: ErrnoException | null, records?: any) => void
hostname: string
oncomplete: (
err: number,
records: any,
ttls?: number[],
) => void
reject: (err: ErrnoException | null) => void
resolve: (records: any) => void
ttl: boolean