struct

Durian::Record::SRV

Inherits Durian::Record / Struct / Value / Object

Constructors

new(target : String = String.new, cls : Cls = Cls::Internet, ttl : UInt32 = 0_u32, from : String | Nil = nil)
Source

Class methods

additional_from_io?(protocol : Protocol, io : IO, buffer : IO)
Source
answer_from_io?(protocol : Protocol, io : IO, buffer : IO)
Source
authority_from_io?(protocol : Protocol, io : IO, buffer : IO)
Source

Instance methods

port
Source
port=(port : UInt16)
Source
priority
Source
priority=(priority : UInt16)
Source
target
Source
target=(target : String)
Source
weight
Source
weight=(weight : UInt16)
Source