Skip to main content

settings_to_protocol

Function settings_to_protocol 

Source
pub fn settings_to_protocol(
    vers: SocksVersion,
    s: String,
) -> Result<Protocol, ProxyError>
Expand description

Transform a string into a representation that can be sent as SOCKS authentication.