p
caliban
package caliban
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
trait
AkkaHttpAdapter extends AnyRef
Akka-http adapter for caliban with pluggable json backend.
Akka-http adapter for caliban with pluggable json backend. There are two ways to use it:
1) Create the adapter manually (using AkkaHttpAdapter.apply and explicitly specify backend (recommended way):val adapter = AkkaHttpAdapter(new CirceJsonBackend) adapter.makeHttpService(interpreter)
2) Mix in an
all-included
trait, like caliban.interop.circe.AkkaHttpCirceAdapter:class MyApi extends AkkaHttpCirceAdapter { // adapter is provided by the mixin adapter.makeHttpService(interpreter) }
- Note
Since all json backend dependencies are optional, you have to explicitly specify a corresponding dependency in your build (see specific backends for details).
-
trait
JsonBackend extends AnyRef
Very simple json backend adapter that uses raw strings to avoid specific AST dependencies in the interface
-
trait
WSMessage extends AnyRef
Decouples AkkaHttpAdapter from specific json backend implementations
Value Members
- object AkkaHttpAdapter