ZClientAspect

zio.http.ZClientAspect
See theZClientAspect companion trait
object ZClientAspect

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

final def debug(implicit trace: Trace): ZClientAspect[Nothing, Any, Nothing, Body, Nothing, Any, Nothing, Response]

Client aspect that logs a debug message to the console after each request

Client aspect that logs a debug message to the console after each request

Attributes

final def debug(extraMessage: PartialFunction[Response, String])(implicit trace: Trace): ZClientAspect[Nothing, Any, Nothing, Body, Nothing, Any, Nothing, Response]

Client aspect that logs a debug message to the console after each request

Client aspect that logs a debug message to the console after each request

Attributes

final def followRedirects[R, E](max: Int)(onRedirectError: (Response, String) => ZIO[R, E, Response])(implicit trace: Trace): ZClientAspect[Nothing, R, Nothing, Body, E, Any, Nothing, Response]
final def requestLogging(level: Status => LogLevel, failureLevel: LogLevel, loggedRequestHeaders: Set[HeaderType], loggedResponseHeaders: Set[HeaderType], logRequestBody: Boolean, logResponseBody: Boolean, requestCharset: Charset, responseCharset: Charset)(implicit trace: Trace): ZClientAspect[Nothing, Any, Nothing, Body, Nothing, Any, Nothing, Response]

Client aspect that logs details of each request and response

Client aspect that logs details of each request and response

Attributes