blpapi.Socks5Config
- class blpapi.Socks5Config(hostname, port)
Configuration to be used to specify a SOCKS5 proxy
- __init__(hostname, port)
- Parameters:
Creates an object that defines a SOCKS5 proxy.
- toString(level=0, spacesPerLevel=4)
Formats this
Socks5Config
to the string.- Parameters:
- Return type:
- Returns:
This object formatted as a string
If
level
is negative, suppresses indentation of the first line. IfspacesPerLevel
is negative, formats the entire output on one line, suppressing all but the initial indentation (as governed bylevel
).