c

dynamics.http

DisposableResponse

final case class DisposableResponse[F[_]](response: HttpResponse[F], dispose: F[Unit]) extends Product with Serializable

A response that allows the response object to used then calls an effect after its has been consumed via apply. This is essentially a resource management hook.

To do

Use some type of bracket capability, is that universal?

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DisposableResponse
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DisposableResponse(response: HttpResponse[F], dispose: F[Unit])

Value Members

  1. def apply[A](f: (HttpResponse[F]) ⇒ F[A])(implicit F: MonadError[F, Throwable]): F[A]
  2. val dispose: F[Unit]
  3. val response: HttpResponse[F]