package syntax
- Alphabetic
- By Inheritance
- syntax
- EndpointMappers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- class EndpointMapper[A] extends Endpoint[A]
-
trait
Mapper[A] extends AnyRef
A type class that allows the Endpoint to be mapped to either
A => B
orA => Future[B]
. -
trait
ToTwitterFuture[F[_]] extends AnyRef
Type class for conversion of some HKT (i.e.
Type class for conversion of some HKT (i.e.
scala.concurrent.Future
) tocom.twitter.util.Future
Value Members
-
def
connect[A](e: Endpoint[A]): EndpointMapper[A]
A combinator that wraps the given Endpoint with additional check of the HTTP method.
-
def
delete[A](e: Endpoint[A]): EndpointMapper[A]
A combinator that wraps the given Endpoint with additional check of the HTTP method.
-
def
get[A](e: Endpoint[A]): EndpointMapper[A]
A combinator that wraps the given Endpoint with additional check of the HTTP method.
-
def
head[A](e: Endpoint[A]): EndpointMapper[A]
A combinator that wraps the given Endpoint with additional check of the HTTP method.
-
def
options[A](e: Endpoint[A]): EndpointMapper[A]
A combinator that wraps the given Endpoint with additional check of the HTTP method.
-
def
patch[A](e: Endpoint[A]): EndpointMapper[A]
A combinator that wraps the given Endpoint with additional check of the HTTP method.
-
def
post[A](e: Endpoint[A]): EndpointMapper[A]
A combinator that wraps the given Endpoint with additional check of the HTTP method.
-
def
put[A](e: Endpoint[A]): EndpointMapper[A]
A combinator that wraps the given Endpoint with additional check of the HTTP method.
-
def
trace[A](e: Endpoint[A]): EndpointMapper[A]
A combinator that wraps the given Endpoint with additional check of the HTTP method.
- object Mapper extends HighPriorityMapperConversions
- object ToTwitterFuture
-
object
scalaFutures
Enables Scala Futures support for Finch syntax.
This is the API documentation for finch
Finch is a thin layer of purely functional basic blocks atop of [Finagle][finagle] for building composable HTTP APIs. Its mission is to provide the developers simple and robust HTTP primitives being as close as possible to the bare metal Finagle API.
Finch uses multi-project structure and contains of the following _modules_:
Please refer to the documentation for a more detailed introduction to the library.