Package

org

http4s

Permalink

package http4s

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. http4s
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type AuthScheme = CaseInsensitiveString

    Permalink
  2. type AuthedService[T] = Kleisli[Task, AuthedRequest[T], Response]

    Permalink
  3. type Callback[A] = (\/[Throwable, A]) ⇒ Unit

    Permalink
  4. type DecodeResult[T] = EitherT[Task, DecodeFailure, T]

    Permalink
  5. type EntityBody = Process[Task, ByteVector]

    Permalink
  6. type EventStream = Process[Task, ServerSentEvent]

    Permalink
  7. type HttpService = Kleisli[Task, Request, Response]

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

    Permalink
  9. type Service[A, B] = Kleisli[Task, A, B]

    Permalink

Value Members

  1. val ApiVersion: Http4sVersion

    Permalink
  2. val DefaultCharset: Charset

    Permalink
  3. def EmptyBody: EntityBody

    Permalink
  4. package client

    Permalink

    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

Inherited from AnyRef

Inherited from Any

Ungrouped