akka/akka-http

Make it possible to expose HTTP requests as Sink

Aperta

#139 aperta il 8 set 2016

 (4 commenti) (0 reazioni) (0 assegnatari)Scala (598 fork)batch import
1 - triagedhelp wantednice-to-have (low-prio)

Metriche repository

Star
 (1311 stelle)
Metriche merge PR
 (Merge medio 1g 10h) (2 PR mergiate in 30 g)

Descrizione

Issue by drewhk Thursday Dec 17, 2015 at 12:08 GMT Originally opened as https://github.com/akka/akka/issues/19218


What is needed is roughly:

val uploadSink = Flow[ByteString].lift.map(<put Source in HttpRequest>).via(http).to(Sink.ignore)

Where lift is the magic that makes Source[T] to Source[Source[T]].

Guida contributor