CORSConfig

@deprecated("Deficient. See https://github.com/http4s/http4s/security/advisories/GHSA-52cf-226f-rhr6.", "0.21.27")
final class CORSConfig

CORS middleware config options. You can give an instance of this class to the CORS middleware, to specify its behavior

Companion:
object
Deprecated
Source:
CORS.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

override def equals(x: Any): Boolean
Definition Classes
Any
Source:
CORS.scala
override def hashCode(): Int
Definition Classes
Any
Source:
CORS.scala
override def toString(): String
Definition Classes
Any
Source:
CORS.scala
def withAllowCredentials(allowCredentials: Boolean): CORSConfig
Source:
CORS.scala
def withAllowedOrigins(allowedOrigins: String => Boolean): CORSConfig
Source:
CORS.scala