class Durian::Packet::Request
- Durian::Packet::Request
- Reference
- Object
Defined in:
durian/packet/request.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
- #add_a_query(query : String)
- #add_aaaa_query(query : String)
- #add_cname_query(query : String)
- #add_dname_query(query : String)
- #add_mx_query(query : String)
- #add_ns_query(query : String)
- #add_ptr_query(query : String)
- #add_query(query : String, flag : RecordFlag)
- #add_soa_query(query : String)
- #add_srv_query(query : String)
- #add_txt_query(query : String)
- #authenticatedData : AuthenticatedData
- #authenticatedData=(authenticatedData : AuthenticatedData)
- #buffer : IO::Memory | Nil
- #buffer=(buffer : IO::Memory | Nil)
- #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)
- #recursionDesired : RecursionDesired
- #recursionDesired=(recursionDesired : RecursionDesired)
- #to_io(io : IO)
- #to_slice
- #to_udp_io(io : IO)
- #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)
#