class MDNS::Query

Overview

Inheriting the domain name structure and extending it with query params

Defined in:

dns/query.cr

Constant Summary

ENDIAN = ["system"]

Inheriting the domain name structure and extending it with query params

KLASS_NAME = [MDNS::Query]

Inheriting the domain name structure and extending it with query params

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

Inheriting the domain name structure and extending it with query params

REMAINING = [] of Nil

Inheriting the domain name structure and extending it with query params

Class Method Summary

Instance Method Summary

Macro Summary

Instance methods inherited from class MDNS::DomainNamePointer

__format__ : IO::ByteFormat __format__, 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

Instance methods inherited from module MDNS::DomainNameHelpers

domain_name domain_name, domain_name=(name) domain_name=, original_io : IO::Memory | Nil original_io, original_io=(original_io : IO::Memory | Nil) original_io=, set_io(io : IO::Memory | Nil) set_io

Class Method Detail

def self.bit_fields #

Inheriting the domain name structure and extending it with query params


[View source]

Instance Method Detail

def record_class : RecordClass #

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

def record_class=(value : RecordClass) #

[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) #

Inheriting the domain name structure and extending it with query params


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

Inheriting the domain name structure and extending it with query params


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

Inheriting the domain name structure and extending it with query params


[View source]