implicit final class HttpAppMiddlewareSyntax[+LowerEnv, -UpperEnv, +LowerErr, -UpperErr] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpAppMiddlewareSyntax
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new HttpAppMiddlewareSyntax(self: HttpAppMiddleware[LowerEnv, UpperEnv, LowerErr, UpperErr])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val self: HttpAppMiddleware[LowerEnv, UpperEnv, LowerErr, UpperErr]
- def toString(): String
- Definition Classes
- Any
- def when(condition: (Request) => Boolean)(implicit trace: Trace): HttpAppMiddleware[LowerEnv, UpperEnv, LowerErr, UpperErr]
Applies Middleware based only if the condition function evaluates to true
- def whenZIO(condition: (Request) => ZIO[Any, Nothing, Boolean])(implicit trace: Trace): HttpAppMiddleware[LowerEnv, UpperEnv, LowerErr, UpperErr]
Applies Middleware based only if the condition effectful function evaluates to true