Packages

p

sanskrit_coders

package sanskrit_coders

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Value Members

  1. 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()

  2. object Utils

Ungrouped