aboutsummaryrefslogtreecommitdiff
path: root/docs/conf/proxy.rst
blob: 85b140a347e4b2a8add5e26b195a8c38304344b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Proxy support
=============

A proxy can be specified when creating a backend::
 
  import com.softwaremill.sttp._
  
  implicit val backend = HttpURLConnectionBackend(
    options = SttpBackendOptions.httpProxy("some.host", 8080))
  
  sttp
    .get(uri"...")
    .send() // uses the proxy