Dust.Requests.Proxy (Dust v0.0.2-dev) View Source
Proxy configuration struct.
Proxy address can start with http/s
or socks5
.
It is also possible to only specify address
field
and when you call Proxy.get_config/1
then we try to
parse URI to figure out type, auth details in this case
default values will be also applied.
# 2 fields with default values
%Proxy{
address: "socks5://user:pass@awesome.host:port"
username: "user",
password: "pass"
}
Link to this section Summary
Link to this section Types
Link to this section Functions
Specs
Prepare proxy configuration for HTTPoison