Skip to content

Commit 311099b

Browse files
committed
index it too
1 parent e649d73 commit 311099b

File tree

1 file changed

+18
-2
lines changed
  • packages/documentation/content/docs/router

1 file changed

+18
-2
lines changed

packages/documentation/content/docs/router/index.mdx

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,29 @@ planner, and much more - all with the performance and safety guarantees of Rust.
5151
Learn how to build and integrate your own plugin:
5252
**[Plugin System](/docs/router/plugin-system)**.
5353

54+
## Subscriptions
55+
56+
Hive Router supports federated GraphQL subscriptions out of the box. Clients can receive real-time
57+
data over [Server-Sent Events](/docs/router/subscriptions/sse),
58+
[WebSockets](/docs/router/subscriptions/websockets), or
59+
[HTTP streaming](/docs/router/subscriptions/multipart-http) - and the router handles protocol
60+
negotiation automatically based on the client's `Accept` header. The transport used between the
61+
router and your subgraphs is independent from the one your clients use, so each side can speak a
62+
different protocol.
63+
64+
Federated entity resolution works the same way it does for queries - when a subscription event
65+
arrives, the router queries any additional subgraphs needed to resolve entity fields and delivers
66+
the complete result to the client.
67+
68+
Learn more: **[Subscriptions](/docs/router/subscriptions)**.
69+
5470
## Getting Started
5571

5672
- **[Getting Started](/docs/router/getting-started)** - Install and run the router in just a few
5773
minutes.
74+
- **[Plugin System](/docs/router/plugin-system)** - Extend the router with custom plugins written in
75+
Rust to add new features, modify behavior, or integrate with external services.
5876
- **[Subscriptions](/docs/router/subscriptions)** - Enable real-time data updates
5977
with Federated GraphQL subscriptions.
6078
- **[Configuration Reference](/docs/router/configuration)** - Explore all the ways you can customize
6179
the router for your needs.
62-
- **[Plugin System](/docs/router/plugin-system)** - Extend the router with custom plugins written in
63-
Rust to add new features, modify behavior, or integrate with external services.

0 commit comments

Comments
 (0)