class DNS::Question

Defined in:

dns/question.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_io(io : IO, format : IO::ByteFormat) : self #

[View source]
def self.new(name : String, query_type : DNS::RecordType = RecordType::AAAA, query_class : DNS::RecordClass = RecordClass::Internet) #

[View source]
def self.new(name : DNS::Name = Name.new, query_type : DNS::RecordType = RecordType::AAAA, query_class : DNS::RecordClass = RecordClass::Internet) #

[View source]

Instance Method Detail

def name : Name #

[View source]
def name=(name : Name) #

[View source]
def query_class : RecordClass #

[View source]
def query_class=(query_class : RecordClass) #

[View source]
def query_type : RecordType #

[View source]
def query_type=(query_type : RecordType) #

[View source]
def to_io(io : IO, format : IO::ByteFormat) #

[View source]