Package

ch.megard.akka.http.cors

scaladsl

Permalink

package scaladsl

Visibility
  1. Public
  2. All

Type Members

  1. trait CorsDirectives extends AnyRef

    Permalink

    Provides directives that implement the CORS mechanism, enabling cross origin requests.

    Provides directives that implement the CORS mechanism, enabling cross origin requests.

    See also

    RFC 6454

    CORS W3C Recommendation

  2. case class CorsRejection(origin: Option[HttpOrigin], method: Option[HttpMethod], headers: Option[Seq[String]]) extends javadsl.CorsRejection with Rejection with Product with Serializable

    Permalink

    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 the Origin header can be missing.

Value Members

  1. object CorsDirectives extends CorsDirectives

    Permalink
  2. package model

    Permalink
  3. package settings

    Permalink

Ungrouped