Package

ch.megard.akka.http

cors

Permalink

package cors

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 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.

  3. abstract class CorsSettings extends AnyRef

    Permalink

    Settings used by the CORS directives.

  4. sealed abstract class HttpHeaderRange extends AnyRef

    Permalink

Value Members

  1. object CorsDirectives extends CorsDirectives

    Permalink
  2. object CorsSettings

    Permalink
  3. object HttpHeaderRange

    Permalink

Ungrouped