CorsSettings

ba.sake.sharaf.handlers.cors.CorsSettings
See theCorsSettings companion object
final class CorsSettings

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def withAllowCredentials(allowCredentials: Boolean): CorsSettings
def withAllowedHttpHeaders(allowedHttpHeaders: Set[HttpString]): CorsSettings
def withAllowedHttpMethods(allowedHttpMethods: Set[HttpString]): CorsSettings
def withAllowedOrigins(allowedOrigins: Set[String]): CorsSettings
def withPathPrefixes(pathPrefixes: Set[String]): CorsSettings
def withPreflightMaxAge(preflightMaxAge: Duration): CorsSettings

Concrete fields

val allowCredentials: Boolean
val allowedHttpHeaders: Set[HttpString]
val allowedHttpMethods: Set[HttpString]
val allowedOrigins: Set[String]
val pathPrefixes: Set[String]
val preflightMaxAge: Duration