UrlFormLifter

org.http4s.server.middleware.UrlFormLifter$
object UrlFormLifter

Middleware for lifting application/x-www-form-urlencoded bodies into the request query params.

The params are merged into the existing paras after the existing query params. This means that if the query already contains the pair "foo" -> Some("bar"), parameters on the body must be accessed through multiParams.

Attributes

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

Members list

Value members

Concrete methods

def apply[F[_] : Sync, G[_] : Concurrent](f: FunctionK[G, F])(http: Kleisli[F, Request[G], Response[G]], strictDecode: Boolean): Kleisli[F, Request[G], Response[G]]

Attributes

Source
UrlFormLifter.scala
def httpApp[F[_] : Async](httpApp: HttpApp[F], strictDecode: Boolean): HttpApp[F]

Attributes

Source
UrlFormLifter.scala
def httpRoutes[F[_] : Async](httpRoutes: HttpRoutes[F], strictDecode: Boolean): HttpRoutes[F]

Attributes

Source
UrlFormLifter.scala