RequestListener

trait RequestListener[F[_], L]

A listener to be used by the ListenerBackend to get notified on request lifecycle events.

A listener to be used by the ListenerBackend to get notified on request lifecycle events.

Type Params
L

Type of a value ("tag") that is associated with a request, and passed the response (or exception) is available. Use Unit if no special value should be associated with a request.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def beforeRequest(request: RequestT[Identity, _, _]): F[L]
def requestException(request: RequestT[Identity, _, _], tag: L, e: Exception): F[Unit]
def requestSuccessful(request: RequestT[Identity, _, _], response: Response[_], tag: L): F[Unit]