akka/akka-http

Make it possible to expose HTTP requests as Sink

Offen

#139 geöffnet am 08.09.2016

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Scala (598 Forks)batch import
1 - triagedhelp wantednice-to-have (low-prio)

Repository-Metriken

Stars
 (1.311 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 1T 10h) (2 gemergte PRs in 30 T)

Beschreibung

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]].

Contributor Guide