Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
DNS::Caching::Packet
Inherits
Reference
<
Object
Constructors
new
(capacity :
Int32
= 512, answer
StrictlySafe
:
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
DNS::Caching::Packet::Entry