sttp.client3.listener

Members list

Type members

Classlikes

class ListenerBackend[F[_], P, L](delegate: SttpBackend[F, P], listener: RequestListener[F, L]) extends DelegateSttpBackend[F, P]

A backend wrapper which notifies the given RequestListener when a request starts and completes.

A backend wrapper which notifies the given RequestListener when a request starts and completes.

Attributes

Companion
object
Supertypes
class DelegateSttpBackend[F, P]
trait SttpBackend[F, P]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
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 parameters

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.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class LoggingListener[F]

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type