org.http4s.dsl
package org.http4s.dsl
Members list
Packages
package org.http4s.dsl.impl
Type members
Classlikes
object &
A conjunction extractor.
A conjunction extractor. Generally used as an infix operator.
scala> object Even { def unapply(i: Int) = (i % 2) == 0 }
scala> object Positive { def unapply(i: Int) = i > 0 }
scala> def describe(i: Int) = i match {
| case org.http4s.dsl.&(Even(), Positive()) => "even and positive"
| case Even() => "even but not positive"
| case Positive() => "positive but not even"
| case _ => "neither even nor positive"
| }
scala> describe(-1)
res0: String = neither even nor positive
scala> describe(0)
res1: String = even but not positive
scala> describe(1)
res2: String = positive but not even
scala> describe(2)
res3: String = even and positive
Attributes
trait Http4sDsl[F[_]] extends Http4sDsl2[F, F]
Attributes
- Companion
- object
- Source
- Http4sDsl.scala
- Supertypes
-
trait Statusestrait RequestDsltrait Authtrait Methodsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait Http4sDslBinCompat[F]object io
object Http4sDsl
Attributes
- Companion
- trait
- Source
- Http4sDsl.scala
- Supertypes
- Self type
-
Http4sDsl.type
trait Http4sDsl2[F[_], G[_]] extends RequestDsl, Statuses, Responses[F, G]
Attributes
- Source
- Http4sDsl.scala
- Supertypes
- Known subtypes
trait Http4sDslBinCompat[F[_]] extends Http4sDsl[F], RequestDslBinCompat
Attributes
- Source
- Http4sDsl.scala
- Supertypes
-
trait RequestDslBinCompattrait Http4sDsl[F]trait Statusestrait RequestDsltrait Authtrait Methodsclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object io
trait RequestDsl extends Methods, Auth
Attributes
- Source
- RequestDsl.scala
- Supertypes
- Known subtypes
-
trait Http4sDsl[F]trait Http4sDslBinCompat[F]object iotrait RequestDslBinCompatobject requestShow all
trait RequestDslBinCompat extends RequestDsl
Attributes
- Source
- RequestDsl.scala
- Supertypes
- Known subtypes
object io extends Http4sDslBinCompat[IO]
Attributes
- Source
- io.scala
- Supertypes
-
trait Http4sDslBinCompat[IO]trait RequestDslBinCompattrait Statusestrait RequestDsltrait Authtrait Methodsclass Objecttrait Matchableclass AnyShow all
- Self type
-
io.type
object request extends RequestDslBinCompat
Attributes
- Source
- request.scala
- Supertypes
-
trait RequestDslBinCompattrait RequestDsltrait Authtrait Methodsclass Objecttrait Matchableclass AnyShow all
- Self type
-
request.type
In this article