@gibme/dns
    Preparing search index...

    Class URI

    Encoder for DNS URI (Uniform Resource Identifier) resource records (Type 256).

    Publishes URI mappings for domain names.

    RFC 7553

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    type: number = 256

    IANA resource record type identifier

    Methods

    • Decodes a URI record from the byte stream.

      Parameters

      • reader: Reader

        the byte stream reader

      Returns URI.Record

      the decoded URI record

    • Encodes a URI record into the byte stream.

      Parameters

      • writer: Writer

        the byte stream writer

      • data: URI.Record

        the URI record to encode

      Returns void