Crate apollo_gateway_rs

Source

Modules§

actix

Structs§

Context
Context give you access to request data like headers, app_data and extensions.
DefaultSource
If you want to load your sources from config you can use DefaultSource. If you not provide tls in your config default value would be false
GatewayServer
Gateway-server will parse a schema from your remote sources, fetch request and make subscription. Don’t forget to pass it into app_data. See example:
GatewayServerBuilder
Request
Response

Traits§

GraphqlSourceMiddleware
Implement GraphqlSourceMiddleware for your source, if you want to modify requests to the subgraph before they’re sent and modify response after it.
RemoteGraphQLDataSource
Represents a connection between your federated gateway and one of your subgraphs.