UNPKG

@homebridge/ciao

Version:

ciao is a RFC 6763 compliant dns-sd library, advertising on multicast dns (RFC 6762) implemented in plain Typescript/JavaScript

16 lines 841 B
import { DNSLabelCoder } from "../DNSLabelCoder"; import { DecodedData } from "../DNSPacket"; import { RecordRepresentation, ResourceRecord } from "../ResourceRecord"; export declare class ARecord extends ResourceRecord { static readonly DEFAULT_TTL = 120; readonly ipAddress: string; constructor(name: string, ipAddress: string, flushFlag?: boolean, ttl?: number); constructor(header: RecordRepresentation, ipAddress: string); protected getRDataEncodingLength(): number; protected encodeRData(coder: DNSLabelCoder, buffer: Buffer, offset: number): number; static decodeData(coder: DNSLabelCoder, header: RecordRepresentation, buffer: Buffer, offset: number): DecodedData<ARecord>; clone(): ARecord; dataAsString(): string; dataEquals(record: ARecord): boolean; } //# sourceMappingURL=ARecord.d.ts.map