質問

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.

役に立ちましたか?

解決

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top