Asynchronous HTTP Client interface
Asynchronous HTTP Client interface
An abstraction for Future type (e.g., Resolves the differences between Twitter Future, Scala Future, etc.)
* Used for passing the subsequent actions to HttpFilter
A filter interface to define actions for handling HTTP requests and responses
Type class to bridge the original requests
Type class to bridge the original response type and HttpResponse
A synchronous HttpClient that awaits responses.
A mapping from an HTTP route to a method with Endpoint annotation
Find a matching route (RouteMatch) from a given HttpRequest
Router defines mappings from HTTP requests to Routes.
Router defines mappings from HTTP requests to Routes.
Router can be nested
From this router definition, the backend HTTP server specific implementation will build a mapping table like this: e1 -> Filter1 andThen process(e1) e2 -> Filter1 andThen process(e2) e3 -> Filter1 andThen Filter2 andThen process(e3) e4 -> process(e4)
Server address holder
Common classifiers for HTTP client responses and exceptions in order to retry HTTP requests.
HTTP status code collection.
Macros for creating a trait factory (Session => A) so that we can register the factory upon defining Route.of[A].
Macros for creating a trait factory (Session => A) so that we can register the factory upon defining Route.of[A].
So once you register a route for A, you don't need to call bind[A].toSingleton, etc.