Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.ns.d.ts>Deno.SrvRecord

A modern runtime for JavaScript and TypeScript.
Latest
interface Deno.SrvRecord
import { type Deno } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.ns.d.ts";
const { SrvRecord } = Deno;

If Deno.resolveDns is called with "SRV" record type specified, it will return an array of objects with this interface.

Properties

priority: number
weight: number
port: number
target: string