Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Aliases DnsPutQuestionFunc

1
2
3
4
5
6
7
module juptune.dns.encoding;

alias DnsPutQuestionFunc = Result function(
    const char[] domainName, 
    DnsRecordType recordType, 
    DnsRecordClass recordClass
);

Documentation

Encoders

Provided by dnsEncodeQueryto the caller's putQuestionsfunction. Allows the caller to add an entry into the questions section of a DNS query.

Params

Throws

DnsEncodingError.bufferTooSmallif the write buffer is too small to fit the encoded question.

Anything dnsSplitDomainNamecan throw.

Returns

A Result