aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-07-19 15:24:45 +0200
committeradamw <adam@warski.org>2017-07-19 15:24:45 +0200
commit3991877faa003a072a175ae59b093beabbd21a50 (patch)
treeb988622cb73eb92f9af8a3881ac1f15d9e361f46 /README.md
parentcc475bfae8163836c89ea64726e5e5d4d2fa36d3 (diff)
downloadsttp-3991877faa003a072a175ae59b093beabbd21a50.tar.gz
sttp-3991877faa003a072a175ae59b093beabbd21a50.tar.bz2
sttp-3991877faa003a072a175ae59b093beabbd21a50.zip
Mapping responses
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8c0de51..a64cfd3 100644
--- a/README.md
+++ b/README.md
@@ -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[_]`