We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a3c91c commit d80cfefCopy full SHA for d80cfef
README.md
@@ -149,9 +149,10 @@ String bodyResponse = f.get();
149
Finally, you can also configure the AsyncHttpClient via its AsyncHttpClientConfig object:
150
151
```java
152
-AsyncHttpClientConfig cf = new AsyncHttpClientConfig.Builder()
153
- .setProxyServer(new ProxyServer("127.0.0.1", 38080)).build();
154
-AsyncHttpClient c = new AsyncHttpClient(cf);
+AsyncHttpClientConfig cf = new DefaultAsyncHttpClientConfig.Builder()
+ .setProxyServer(new ProxyServer.Builder("127.0.0.1", 38080)).build();
+
155
+AsyncHttpClient c = new DefaultAsyncHttpClient(cf);
156
```
157
158
## WebSocket
0 commit comments