struct LavinMQ::ProxyProtocol::V1

Defined in:

lavinmq/proxy_protocol.cr

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

Examples: PROXY TCP4 255.255.255.255 255.255.255.255 65535 65535\r\n PROXY TCP6 ffff:f...f:ffff ffff:f...f:ffff 65535 65535\r\n PROXY UNKNOWN\r\n


[View source]

Instance Method Detail

def to_io(io : IO, format = nil) #

[View source]