MiddlewareSpec

zio.http.api.MiddlewareSpec$
See theMiddlewareSpec companion class

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class CsrfValidate(cookieOption: Option[Cookie[Request]], tokenValue: Option[String])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Inherited types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

Add specified header to the response

Add specified header to the response

Attributes

def customAuth[I](headerCodec: HeaderCodec[I]): MiddlewareSpec[I, Unit]
def withAuthorization(value: CharSequence): MiddlewareSpec[Unit, Unit]