package scaladsl
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
trait
CorsDirectives extends AnyRef
Provides directives that implement the CORS mechanism, enabling cross origin requests.
Provides directives that implement the CORS mechanism, enabling cross origin requests.
- See also
-
case class
CorsRejection(origin: Option[HttpOrigin], method: Option[HttpMethod], headers: Option[Seq[String]]) extends javadsl.CorsRejection with Rejection with Product with Serializable
Rejection created when a CORS request was invalid.
Rejection created when a CORS request was invalid. In case of a preflight request, one to three of the causes can be marked as invalid. In case of an actual request, only the origin can be marked as invalid.
Note: when the three causes are
None, the request itself was invalid. For example theOriginheader can be missing.
Value Members
- object CorsDirectives extends CorsDirectives