Go to Latest
class ChannelWrap
implements ChannelWrapQuery
extends AsyncWrap
import { ChannelWrap } from "https://dotland.deno.dev/std@0.177.0/node/internal_binding/cares_wrap.ts";

Constructors

new
ChannelWrap(timeout: number, tries: number)

Methods

getHostByAddr(_req: QueryReqWrap, _name: string): number
getServers(): [string, number][]
queryA(req: QueryReqWrap, name: string): number
queryAaaa(req: QueryReqWrap, name: string): number
queryAny(req: QueryReqWrap, name: string): number
queryCaa(req: QueryReqWrap, name: string): number
queryCname(req: QueryReqWrap, name: string): number
queryMx(req: QueryReqWrap, name: string): number
queryNaptr(req: QueryReqWrap, name: string): number
queryNs(req: QueryReqWrap, name: string): number
queryPtr(req: QueryReqWrap, name: string): number
querySoa(req: QueryReqWrap, name: string): number
querySrv(req: QueryReqWrap, name: string): number
queryTxt(req: QueryReqWrap, name: string): number
setLocalAddress(_addr0: string, _addr1?: string)
setServers(servers: string | [number, string, number][]): number