Skip to content

Commit 78f6d9e

Browse files
committed
Fix README
1 parent b9ebb54 commit 78f6d9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ import org.asynchttpclient.*;
7272
Future<Response> whenResponse = asyncHttpClient.prepareGet("http://www.example.com/").execute();
7373

7474
// unbound
75-
Request request = get("http://www.example.com/");
76-
Future<Response> whenResponse = asyncHttpClient.execute(request).execute();
75+
Request request = get("http://www.example.com/").build();
76+
Future<Response> whenResponse = asyncHttpClient.execute(request);
7777
```
7878

7979
#### Setting Request Body

0 commit comments

Comments
 (0)