AccessControlAllowHeaders

zio.http.Header.AccessControlAllowHeaders
See theAccessControlAllowHeaders companion trait

The Access-Control-Allow-Headers response header is used in response to a preflight request which includes the Access-Control-Request-Headers to indicate which HTTP headers can be used during the actual request.

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
trait HeaderType
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

case object All extends AccessControlAllowHeaders

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
Self type
All.type
case object None extends AccessControlAllowHeaders

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Header
class Object
trait Matchable
class Any
Show all
Self type
None.type
final case class Some(values: NonEmptyChunk[String]) extends AccessControlAllowHeaders

Attributes

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

Types

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(headers: String*): AccessControlAllowHeaders
override def name: String

Attributes

Definition Classes
def parse(value: String): Either[String, AccessControlAllowHeaders]
def render(accessControlAllowHeaders: AccessControlAllowHeaders): String