All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spinoco.protocol.http.header.Access-Control-Request-Headers.scala Maven / Gradle / Ivy

The newest version!
package spinoco.protocol.http.header

import spinoco.protocol.http.codec.helper._
import spinoco.protocol.http.header.value.HeaderCodecDefinition

/**
  *
  *   @see  https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers
  */
sealed case class `Access-Control-Request-Headers`(value: List[String]) extends DefaultHeader



object `Access-Control-Request-Headers` { val codec =
  HeaderCodecDefinition[`Access-Control-Request-Headers`](commaDelimitedMin(trimmedAsciiToken, 1).xmap (`Access-Control-Request-Headers`.apply, _.value))
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy