org.http4s

server

package server

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. server
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait AsyncTimeoutSupport extends AnyRef

  2. trait Fallthrough[B] extends AnyRef

    Encapsulates the notion of fallthrough orElse for a Service For any given B, if a Fallthrough[B] exists within implicit context then Service#orElse can be used.

  3. type HttpMiddleware = (Service[Request, Response]) ⇒ Service[Request, Response]

    An HTTP middleware converts an HttpService to another.

  4. type HttpService = Kleisli[Task, Request, Response]

    A Service that produces a Task to compute a Response from a Request.

    A Service that produces a Task to compute a Response from a Request. An HttpService can be run on any supported http4s server backend, such as Blaze, Jetty, or Tomcat.

  5. trait IdleTimeoutSupport extends AnyRef

  6. trait MetricsSupport extends AnyRef

  7. type Middleware[A, B, C, D] = (Service[A, B]) ⇒ Service[C, D]

    A middleware is a function of one Service to another, possibly of a different Request and Response type.

    A middleware is a function of one Service to another, possibly of a different Request and Response type. http4s comes with several middlewares for composing common functionality into services.

  8. class MockServer extends AnyRef

  9. trait SSLSupport extends AnyRef

  10. trait Server extends AnyRef

  11. trait ServerBuilder extends AnyRef

  12. type Service[A, B] = Kleisli[Task, A, B]

    A Service wraps a function of request type A to a Task that runs to esponse type B.

    A Service wraps a function of request type A to a Task that runs to esponse type B. By wrapping the Service, we can compose them using Kleisli operations.

  13. trait WebSocketSupport extends AnyRef

Value Members

  1. object AsyncTimeoutSupport

  2. object Fallthrough

    Houses the principal Fallthrough typeclass instances.

  3. object HttpService extends Serializable

    There are 4 HttpService constructors:

  4. object IdleTimeoutSupport

  5. object MetricsSupport

  6. object Middleware

  7. object MockServer

  8. object Router

  9. object SSLSupport

  10. object ServerBuilder

  11. object Service extends Serializable

  12. package middleware

  13. package staticcontent

    Helpers for serving static content from http4s

  14. package syntax

Inherited from AnyRef

Inherited from Any

Ungrouped