ProxyProtocolExtension extension

Extension methods for ProxyProtocol

on

Properties

isHttp → bool

Available on ProxyProtocol, provided by the ProxyProtocolExtension extension

Returns true if this is an HTTP protocol
no setter
isSocks → bool

Available on ProxyProtocol, provided by the ProxyProtocolExtension extension

Returns true if this is a SOCKS protocol
no setter
name → String

Available on ProxyProtocol, provided by the ProxyProtocolExtension extension

Returns the string representation of the protocol
no setter
socksVersion → int?

Available on ProxyProtocol, provided by the ProxyProtocolExtension extension

Returns the SOCKS version if this is a SOCKS protocol
no setter