class Durian::Packet::Response
- Durian::Packet::Response
- Reference
- Object
Defined in:
durian/packet/response.crConstructors
Class Method Summary
- .from_io(io : IO, protocol : Protocol = Protocol::UDP, buffer : IO::Memory = IO::Memory.new, sync_buffer_close : Bool = true)
- .from_io!(io : IO, protocol : Protocol = Protocol::UDP, buffer : IO::Memory = IO::Memory.new, sync_buffer_close : Bool = true)
Instance Method Summary
- #additional : Array(Section::Additional)
- #additional=(additional : Array(Section::Additional))
- #additionalCount : UInt16
- #additionalCount=(additionalCount : UInt16)
- #answerCount : UInt16
- #answerCount=(answerCount : UInt16)
- #answers : Array(Section::Answer)
- #answers=(answers : Array(Section::Answer))
- #authenticatedData : AuthenticatedData
- #authenticatedData=(authenticatedData : AuthenticatedData)
- #authoritativeAnswer : AuthoritativeAnswer
- #authoritativeAnswer=(authoritativeAnswer : AuthoritativeAnswer)
- #authority : Array(Section::Authority)
- #authority=(authority : Array(Section::Authority))
- #authorityCount : UInt16
- #authorityCount=(authorityCount : UInt16)
- #buffer : IO::Memory | Nil
- #buffer=(buffer : IO::Memory | Nil)
- #checkingDisabled : CheckingDisabled
- #checkingDisabled=(checkingDisabled : CheckingDisabled)
- #operationCode : OperationCode
- #operationCode=(operationCode : OperationCode)
- #protocol : Protocol
- #protocol=(protocol : Protocol)
- #queries : Array(Section::Question)
- #queries=(queries : Array(Section::Question))
- #questionCount : UInt16
- #questionCount=(questionCount : UInt16)
- #random : Random
- #random=(random : Random)
- #recursionAvailable : RecursionAvailable
- #recursionAvailable=(recursionAvailable : RecursionAvailable)
- #recursionDesired : RecursionDesired
- #recursionDesired=(recursionDesired : RecursionDesired)
- #responseCode : ResponseCode
- #responseCode=(responseCode : ResponseCode)
- #transId : UInt16 | Nil
- #transId=(transId : UInt16 | Nil)
- #truncated : Truncated
- #truncated=(truncated : Truncated)
Constructor Detail
Class Method Detail
def self.from_io(io : IO, protocol : Protocol = Protocol::UDP, buffer : IO::Memory = IO::Memory.new, sync_buffer_close : Bool = true)
#
def self.from_io!(io : IO, protocol : Protocol = Protocol::UDP, buffer : IO::Memory = IO::Memory.new, sync_buffer_close : Bool = true)
#