Skip to content

Commit 7eeb3ae

Browse files
committed
Update README
1 parent e5cedbf commit 7eeb3ae

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ From HttpClientContext:
4343
- Optionally set headers(), cookies() etc
4444
- Optionally specify a request body (JSON, form, or raw BodyPublisher)
4545
- Http verbs - GET(), POST(), PUT(), PATCH(), DELETE(), HEAD(), TRACE()
46-
- Optionally return response body as a bean, list of beans, or raw
46+
- Optionally return response body as a bean, list of beans, stream of beans or various raw response types
47+
- Optionally use Async processing of the request
4748

4849
## Examples
4950

@@ -149,7 +150,7 @@ assertThat(res.statusCode()).isEqualTo(201);
149150

150151
## Async processing
151152

152-
### .async().asDiscarding() - HttpResponse<Void>
153+
### .async().asDiscarding() - HttpResponse&lt;Void&gt;
153154

154155
```java
155156

@@ -169,7 +170,7 @@ clientContext.request()
169170

170171
```
171172

172-
### .async().asString() - HttpResponse<String>
173+
### .async().asString() - HttpResponse&lt;String&gt;
173174

174175
```java
175176
clientContext.request()

0 commit comments

Comments
 (0)