isSocks property

bool get isSocks

Returns true if this is a SOCKS protocol

Implementation

bool get isSocks =>
    this == ProxyProtocol.socks4 || this == ProxyProtocol.socks5;