CorsConfig

zio.http.Middleware.CorsConfig
final case class CorsConfig(allowedOrigin: Origin => Option[AccessControlAllowOrigin], allowedMethods: AccessControlAllowMethods, allowedHeaders: AccessControlAllowHeaders, allowCredentials: AccessControlAllowCredentials, exposedHeaders: AccessControlExposeHeaders, maxAge: Option[AccessControlMaxAge])

Configuration for the CORS aspect.

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product