pub trait RemoteGraphQLDataSource:
Sync
+ Send
+ 'static {
// Required methods
fn name(&self) -> &str;
fn address(&self) -> &str;
// Provided methods
fn tls(&self) -> bool { ... }
fn query_path(&self) -> Option<&str> { ... }
fn subscribe_path(&self) -> Option<&str> { ... }
fn url_query(&self) -> String { ... }
fn url_subscription(&self) -> String { ... }
}
Expand description
Represents a connection between your federated gateway and one of your subgraphs.