p
sanskrit_coders
package sanskrit_coders
Ordering
- Alphabetic
Visibility
- Public
- All
Value Members
-
object
RichHttpAkkaClient
A client robust to redirects and such.
A client robust to redirects and such. Copied and adapted from https://github.com/akka/akka-http/issues/195
Usage: call httpClientWithRedirect(). implicit val actorSystem = ActorSystem("xyz") private val redirectingClient: HttpRequest => Future[HttpResponse] = getClientWithAkkaSystem() RichHttpClient.httpResponseToString(redirectingClient(HttpRequest(uri = uri))).map(responseString => {log.debug(responseString)}) actorSystem.terminate()
- object Utils