Converts a response body into Array[Byte].
Converts a response body into Array[Byte].
val byteArray = response.body[Array[Byte]]
Converts a response body into a read only ByteBuffer.
Converts a response body into a read only ByteBuffer.
val buffer = response.body[ByteBuffer]
Converts a response body into an akka.util.ByteString:
Converts a response body into an akka.util.ByteString:
val byteString = response.body[ByteString]
Converts a response body into Source[ByteString, NotUsed].
Converts a response body into a String.
Converts a response body into a String.
Note: this is only a best-guess effort and does not handle all content types. See StandaloneWSResponse.body:String* for more information.
val string = response.body[String]
Defines common BodyReadable for a response backed by org.asynchttpclient.Response.