package impl
Type Members
- trait EmptyRequestGenerator extends RequestGenerator
- trait EntityRequestGenerator extends EmptyRequestGenerator
- sealed trait RequestGenerator extends Any
Provides extension methods for using the a http4s org.http4s.client.Client
Provides extension methods for using the a http4s org.http4s.client.Client
import scalaz.concurrent.Task import org.http4s._ import org.http4s.client._ import org.http4s.Http4s._ import org.http4s.Status._ import org.http4s.Method._ import org.http4s.EntityDecoder def client: Client = ??? val r: Task[String] = client(GET(uri("https://www.foo.bar/"))).as[String] val r2: DecodeResult[String] = client(GET(uri("https://www.foo.bar/"))).attemptAs[String] // implicitly resolve the decoder val req1 = r.run val req2 = r.run // Each invocation fetches a new Result based on the behavior of the Client
Basic OAuth1 message signing support
Basic OAuth1 message signing support
This feature is not considered stable.