struct LavinMQ::ProxyProtocol::V2

Defined in:

lavinmq/proxy_protocol.cr

Constant Summary

Signature = StaticArray[13_u8, 10_u8, 13_u8, 10_u8, 0_u8, 13_u8, 10_u8, 81_u8, 85_u8, 73_u8, 84_u8, 10_u8]

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(src : Socket::IPAddress, dst : Socket::IPAddress) #

[View source]

Class Method Detail

def self.parse(io) #

[View source]

Instance Method Detail

def to_io(io : IO, format = IO::ByteFormat::NetworkEndian) #

[View source]