org.http4s.server

middleware

package middleware

Visibility
  1. Public
  2. All

Type Members

  1. class CORS extends (Request) ⇒ Task[Option[Response]]

    CORS middleware This middleware provides clients with CORS information based on information in CORS config.

  2. case class CORSConfig(anyOrigin: Boolean, allowCredentials: Boolean, maxAge: Long, anyMethod: Boolean = true, allowedOrigins: Option[Set[String]] = scala.None, allowedMethods: Option[Set[String]] = scala.None, allowedHeaders: Option[Set[String]] = ...) extends Product with Serializable

    CORS middleware config options.

Value Members

  1. object AutoSlash

    Removes a trailing slash from Request path

  2. object CORS

  3. object ChunkAggregator

  4. object EntityLimiter

  5. object GZip

  6. object Metrics

  7. object PushSupport

  8. object Timeout

  9. object URITranslation

  10. package authentication

Ungrouped