class MDNS::Query

Defined in:

dns/query_resource.cr

Constant Summary

ENDIAN = ["system"]
KLASS_NAME = [MDNS::Query]
PARTS = [{type: "enum", name: type, cls: UInt16, onlyif: nil, verify: nil, value: nil, encoding: Type}, {type: "bitfield", name: 1, cls: MDNS::Query, onlyif: nil, verify: nil}] of Nil
REMAINING = [] of Nil

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from class MDNS::DomainNamePointer

__format__ : IO::ByteFormat __format__, domain_name(query : IO::Memory)
domain_name
domain_name
, domain_name=(name) domain_name=, raw_domain_name : Array(DomainNameComponent) raw_domain_name, raw_domain_name=(raw_domain_name : Array(DomainNameComponent)) raw_domain_name=

Class methods inherited from class MDNS::DomainNamePointer

bit_fields bit_fields

Class Method Detail

def self.bit_fields #

[View source]

Instance Method Detail

def klass : Klass #

[View source]
def klass=(klass : UInt16) #

def klass=(value : Klass) #

[View source]
def type : Type #

def type=(type : Type) #

def unicast_response : Bool #

[View source]
def unicast_response=(unicast_response : UInt8) #

def unicast_response=(value : Bool) #

[View source]

Macro Detail

macro mdns_domain_name_component(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mdns_domain_name_pointer(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro mdns_query(name, onlyif = nil, verify = nil, value = nil) #

[View source]