abstract struct Durian::Record

Direct Known Subclasses

Defined in:

durian/record.cr
durian/record/a.cr
durian/record/aaaa.cr
durian/record/cname.cr
durian/record/dname.cr
durian/record/mx.cr
durian/record/ns.cr
durian/record/ptr.cr
durian/record/soa.cr
durian/record/srv.cr
durian/record/txt.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(from : String | Nil = nil, cls : Cls = Cls::Internet, ttl : UInt32 = 0_u32) #

[View source]
def self.new(flag : RecordFlag) #

[View source]

Class Method Detail

def self.decode_additional(protocol : Protocol, resource_flag : RecordFlag, io : IO, buffer : IO) #

[View source]
def self.decode_answer(protocol : Protocol, resource_flag : RecordFlag, io : IO, buffer : IO) #

[View source]
def self.decode_authority(protocol : Protocol, resource_flag : RecordFlag, io : IO, buffer : IO) #

[View source]

Instance Method Detail

def cls : Cls #

[View source]
def cls=(cls : Cls) #

[View source]
def flag : RecordFlag #

[View source]
def flag=(flag : RecordFlag) #

[View source]
def from : String | Nil #

[View source]
def from=(from : String | Nil) #

[View source]
def ttl : UInt32 #

[View source]
def ttl=(ttl : UInt32) #

[View source]