diff options
author | adamw <adam@warski.org> | 2017-07-19 15:24:45 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-19 15:24:45 +0200 |
commit | 3991877faa003a072a175ae59b093beabbd21a50 (patch) | |
tree | b988622cb73eb92f9af8a3881ac1f15d9e361f46 /README.md | |
parent | cc475bfae8163836c89ea64726e5e5d4d2fa36d3 (diff) | |
download | sttp-3991877faa003a072a175ae59b093beabbd21a50.tar.gz sttp-3991877faa003a072a175ae59b093beabbd21a50.tar.bz2 sttp-3991877faa003a072a175ae59b093beabbd21a50.zip |
Mapping responses
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -104,8 +104,8 @@ val response: Response[String] = request.send() By default the response body is read into a utf-8 string. How the response body is handled is also part of the request description. The body can be ignore (`.response(ignore)`), read into a sequence of parameters -(`.response(asParams)`) and more; some backends also support request & response -streaming. +(`.response(asParams)`), mapped (`.mapResponse`) and more; some backends also +support request & response streaming. The default handler doesn't wrap the response into any container, but other asynchronous handlers might do so. The type parameter in the `Response[_]` |