class MDNS::RR::Service

Overview

SRV details

Included Modules

Defined in:

dns/resource_records/service.cr

Constant Summary

ENDIAN = ["big"]

SRV details

KLASS_NAME = [MDNS::RR::Service]

SRV details

PARTS = [{type: "basic", name: priority, cls: UInt16, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: weight, cls: UInt16, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: port, cls: UInt16, onlyif: nil, verify: nil, value: nil}, {type: "variable_array", name: raw_domain_name, cls: DomainNameComponent, onlyif: nil, verify: nil, length: -> do if name = raw_domain_name[-1]? name.read_next? else true end end, value: nil}] of Nil

SRV details

REMAINING = [] of Nil

SRV details

Class Method Summary

Instance Method Summary

Macro Summary

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 #

SRV details


[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def port : UInt16 #

def port=(port : UInt16) #

def priority : UInt16 #

def priority=(priority : UInt16) #

def raw_domain_name : Array(DomainNameComponent) #

def raw_domain_name=(raw_domain_name : Array(DomainNameComponent)) #

def weight : UInt16 #

def weight=(weight : UInt16) #

Macro Detail

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

SRV details


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

SRV details


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

SRV details


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

SRV details


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

SRV details


[View source]