org

http4s

package http4s

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. http4s
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type AuthScheme = CaseInsensitiveString

  2. type DecodeResult[T] = EitherT[Task, ParseFailure, T]

  3. type EntityBody = Process[Task, ByteVector]

  4. type ParseResult[+A] = \/[ParseFailure, A]

Value Members

  1. val ApiVersion: Http4sVersion

  2. def EmptyBody: Process0[Nothing]

  3. package client

    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 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: Task[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

Inherited from AnyRef

Inherited from Any

Ungrouped