org.http4s

client

package client

Provides extension methods for using the a http4s org.http4s.client.Client

import org.http4s.Status._
import org.http4s.Method._
import org.http4s.EntityDecoder

implicit def client: Client = ???

val r: Task[Result[String]] = GET("https://www.foo.bar/").on(Ok)(EntityDecoder.text)
val req1 = r.run
val req2 = r.run  // Each run is fetches a new result based on the behavior of the Client
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. client
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Client extends AnyRef

  2. implicit class ClientSyntax extends AnyRef

  3. implicit class ClientTaskSyntax extends AnyRef

    ClientSyntax provides the most convenient way to transform a Request into a Response

Value Members

  1. object Client

Inherited from AnyRef

Inherited from Any

Ungrouped