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

spinoco.protocol.http.header.Access-Control-Expose-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-Expose-Headers
  */
sealed case class `Access-Control-Expose-Headers`(value: List[String]) extends DefaultHeader

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy