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

Constructors

new
ChannelWrap(timeout: number, tries: number)

Methods

cancel()
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): void
setServers(servers: string | [number, string, number][]): number