Question

I'm using spray and I would like to convert a ByteString that contains the http request into a HttpRequest object (or something similar that will parse the request into an object that represents the request). I'm guessing that there is something in spray-http that does this, but I can't find any examples. Thanks.

Was it helpful?

Solution

It seems that the package spray.can.parsing is responsible for that, in particular the HttpRequestPartParser class. Unfortunately, it's not public...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top