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. type HttpMiddleware = (Service[Request, Response]) ⇒ Service[Request, Response]

    An HTTP middleware converts an HttpService to another.

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

  4. trait IdleTimeoutSupport extends AnyRef

  5. trait MetricsSupport extends AnyRef

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

  7. class MockServer extends AnyRef

  8. type PartialService[A, B] = Kleisli[[x]OptionT[Task, x], A, B]

    A Service that returns an optional result.

  9. implicit final class PartialServiceSyntax[A, B] extends AnyVal

  10. trait SSLSupport extends AnyRef

  11. trait Server extends AnyRef

  12. trait ServerBuilder extends AnyRef

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

  14. trait WebSocketSupport extends AnyRef

Value Members

  1. object AsyncTimeoutSupport

  2. object HttpService extends Serializable

  3. object IdleTimeoutSupport

  4. object MetricsSupport

  5. object Middleware

  6. object MockServer

  7. object PartialService extends Serializable

  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

Inherited from AnyRef

Inherited from Any

Ungrouped