MaxActiveRequests

org.http4s.server.middleware.MaxActiveRequests

Attributes

Source
MaxActiveRequests.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def forHttpApp2[G[_], F[_]](maxActive: Long, defaultResp: Response[F])(implicit F: Async[F], G: Sync[G]): G[(Kleisli[F, Request[F], Response[F]]) => Kleisli[F, Request[F], Response[F]]]

Attributes

Source
MaxActiveRequests.scala
def forHttpRoutes[F[_] : Async](maxActive: Long, defaultResp: Response[F]): F[(Kleisli[[_] =>> OptionT[F, _$15], Request[F], Response[F]]) => Kleisli[[_] =>> OptionT[F, _$16], Request[F], Response[F]]]

Attributes

Source
MaxActiveRequests.scala
def forHttpRoutes2[G[_], F[_]](maxActive: Long, defaultResp: Response[F])(implicit F: Async[F], G: Sync[G]): G[(Kleisli[[_] =>> OptionT[F, _$19], Request[F], Response[F]]) => Kleisli[[_] =>> OptionT[F, _$20], Request[F], Response[F]]]

Attributes

Source
MaxActiveRequests.scala

Deprecated methods

Attributes

Deprecated
[Since version 0.21.14] Please use forHttpApp instead.
Source
MaxActiveRequests.scala
def httpRoutes[F[_] : Async](maxActive: Long, defaultResp: Response[F]): F[(Kleisli[[_] =>> OptionT[F, _$8], Request[F], Response[F]]) => Kleisli[[_] =>> OptionT[F, _$9], Request[F], Response[F]]]

Attributes

Deprecated
[Since version 0.21.14] Please use forHttpRoutes instead.
Source
MaxActiveRequests.scala
def inHttpApp[G[_], F[_]](maxActive: Long, defaultResp: Response[F])(implicit F: Async[F], G: Sync[G]): G[(Kleisli[F, Request[F], Response[F]]) => Kleisli[F, Request[F], Response[F]]]

Attributes

Deprecated
[Since version 0.21.14] Please use forHttpApp2 instead.
Source
MaxActiveRequests.scala
def inHttpRoutes[G[_], F[_]](maxActive: Long, defaultResp: Response[F])(implicit F: Async[F], G: Sync[G]): G[(Kleisli[[_] =>> OptionT[F, _$12], Request[F], Response[F]]) => Kleisli[[_] =>> OptionT[F, _$13], Request[F], Response[F]]]

Attributes

Deprecated
[Since version 0.21.14] Please use forHttpRoutes2 instead.
Source
MaxActiveRequests.scala