class

DNS::Caching::Packet

Inherits Reference < Object

Constructors

new(capacity : Int32 = 512, answerStrictlySafe : Bool = true)
Source

Instance methods

answerStrictlySafe
Source
capacity
Source
clear
Source
entries
Source
full?
Source
get?(host : String, record_type : DNS::Packet::RecordFlag) : Array(DNS::Packet) | Nil
Source
mutex
Source
set(host : String, record_type : DNS::Packet::RecordFlag, packet : DNS::Packet)
Source
set(host : String, record_type : DNS::Packet::RecordFlag, packets : Array(DNS::Packet))
Source
set(host : String, record_type : DNS::Packet::RecordFlag, packets : Set(DNS::Packet))
Source
size
Source

Nested types