EntityLimiter

org.http4s.server.middleware.EntityLimiter
object EntityLimiter

Attributes

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

Members list

Type members

Classlikes

final case class EntityTooLarge(limit: Long) extends Exception, NoStackTrace

Attributes

Source
EntityLimiter.scala
Supertypes
trait Product
trait Equals
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def apply[F[_], G[_], B](http: Kleisli[F, Request[G], B], limit: Long)(implicit G: ApplicativeThrow[G], F: ApplicativeThrow[F]): Kleisli[F, Request[G], B]

Attributes

Source
EntityLimiter.scala
def httpApp[F[_] : ApplicativeThrow](httpApp: HttpApp[F], limit: Long): HttpApp[F]

Attributes

Source
EntityLimiter.scala
def httpRoutes[F[_] : MonadThrow](httpRoutes: HttpRoutes[F], limit: Long): HttpRoutes[F]

Attributes

Source
EntityLimiter.scala

Concrete fields