Hi Barrett,

you can try


Http()
  .singleRequest(...)
  .map(_.entity.dataBytes.via(Gzip.decoderFlow))

HTH,
André


On Thursday, August 25, 2016 at 9:41:14 AM UTC+2, Barrett Kern wrote:
>
> Hello,
>
> I am consuming a 3rd party API that returns gzipped JSON. I  So far I 
> cannot figure out how to decompress this response.  I found the directives 
> for encoding/decoding but it seems (to me) that those have to be used in 
> the routing dsl?   The high level use case I have is user makes a request 
> to my endpoint and then my application consumes some APIs and ultimately 
> returns some transformed data to the user. 
>
> Thanks,
> Barry
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to