All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.shaka.http.Http.scala Maven / Gradle / Ivy

The newest version!
package io.shaka.http

import io.shaka.http.Https.HttpsKeyStore
import io.shaka.http.proxy._

object Http {
  type HttpHandler = (Request) => (Response)
  type Url = String
  type Header = (HttpHeader, String)

  def http(request: Request)(implicit proxy: Proxy = noProxy, keyStore: Option[HttpsKeyStore] = None): Response = new ClientHttpHandler(proxy, keyStore).apply(request)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy