Frage

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.

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top