DNS::Caching::IPAddress
Inherits Reference < Object
Constructors
new(capacity : Int32 = 512, answerStrictlySafe : Bool = true, answerStrictlyIpv6 : Bool = true)
SourceInstance methods
answerStrictlyIpv6
SourceanswerStrictlySafe
Sourcecapacity
Sourceclear
Sourceentries
Sourcefull?
Sourceget?(host : String, port : Int32, answer_safety_first : Bool | Nil = nil, filter_type : Options::Addrinfo::FilterFlag = Options::Addrinfo::FilterFlag::IPV4_ONLY) : Array(Socket::IPAddress) | Nil
Sourceget?(host : String, answer_safety_first : Bool | Nil = nil, filter_type : Options::Addrinfo::FilterFlag = Options::Addrinfo::FilterFlag::IPV4_ONLY) : Array(Socket::IPAddress) | Nil
Sourceget_raw?(host : String, port : Int32 | Nil = nil, answer_safety_first : Bool | Nil = nil, filter_type : Options::Addrinfo::FilterFlag = Options::Addrinfo::FilterFlag::IPV4_ONLY) : Array(Tuple(ProtocolType, Time::Span, Socket::IPAddress)) | Nil
Sourcemutex
Sourceset(host : String, ipv4_address : Tuple(ProtocolType, Time::Span, Socket::IPAddress), ipv6_address : Tuple(ProtocolType, Time::Span, Socket::IPAddress) | Nil = nil)
Sourceset(host : String, ipv4_addresses : Array(Tuple(ProtocolType, Time::Span, Socket::IPAddress)), ipv6_addresses : Array(Tuple(ProtocolType, Time::Span, Socket::IPAddress)) | Nil = nil)
Sourceset(host : String, ipv4_addresses : Set(Tuple(ProtocolType, Time::Span, Socket::IPAddress)), ipv6_addresses : Set(Tuple(ProtocolType, Time::Span, Socket::IPAddress))) : Entry
Sourcesize
Source