PushSupport

org.http4s.server.middleware.PushSupport$

Attributes

Deprecated
true
Source:
PushSupport.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final class PushOps[F[_]](response: Response[F])

Attributes

Source:
PushSupport.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[F[_] : Monad](routes: HttpRoutes[F], verify: String => Boolean): HttpRoutes[F]

Transform the route such that requests will gather pushed resources

Transform the route such that requests will gather pushed resources

Attributes

routes

HttpRoutes to transform

verify

method that determines if the location should be pushed

Returns:

Transformed route

Source:
PushSupport.scala

Implicits

Implicits

implicit def http4sPushOps[F[_]](response: Response[F]): PushOps[F]

Attributes

Source:
PushSupport.scala