Skip to content

Instantly share code, notes, and snippets.

View SkippyZA's full-sized avatar
⌨️
code whisperer

Steven Inskip SkippyZA

⌨️
code whisperer
View GitHub Profile
@SkippyZA
SkippyZA / RestClient.scala
Last active October 10, 2016 08:01 — forked from davidmweber/RestClient.scala
Using Akka http client and pooled requests
package co.horn.streaming
import akka.actor.ActorSystem
import akka.http.ConnectionPoolSettings
import akka.http.scaladsl.Http
import akka.http.scaladsl.model.{HttpResponse, HttpRequest}
import akka.stream.ActorMaterializer
import akka.stream.scaladsl.{Sink, Source}
import scala.collection.immutable.SortedMap