Update book
This commit is contained in:
parent
39ba3b4aec
commit
59575fdb57
|
@ -32,3 +32,7 @@ async fn index_ws(
|
|||
ws::start_with_protocols(WSSubscription::new(&schema), &["graphql-ws"], &req, payload)
|
||||
}
|
||||
```
|
||||
|
||||
## More examples
|
||||
|
||||
https://github.com/async-graphql/examples/tree/master/actix-web
|
||||
|
|
|
@ -30,3 +30,7 @@ let schema = Schema::new(QueryRoot, EmptyMutation, SubscriptionRoot);
|
|||
let filter = async_graphql_warp::graphql_subscription(schema);
|
||||
warp::serve(filter).run(([0, 0, 0, 0], 8000)).await;
|
||||
```
|
||||
|
||||
## More examples
|
||||
|
||||
https://github.com/async-graphql/examples/tree/master/warp
|
||||
|
|
|
@ -29,3 +29,8 @@ async fn index_ws(
|
|||
ws::start_with_protocols(WSSubscription::new(&schema), &["graphql-ws"], &req, payload)
|
||||
}
|
||||
```
|
||||
|
||||
## 更多例子
|
||||
|
||||
https://github.com/async-graphql/examples/tree/master/actix-web
|
||||
|
||||
|
|
|
@ -29,3 +29,7 @@ let schema = Schema::new(QueryRoot, EmptyMutation, SubscriptionRoot);
|
|||
let filter = async_graphql_warp::graphql_subscription(schema);
|
||||
warp::serve(filter).run(([0, 0, 0, 0], 8000)).await;
|
||||
```
|
||||
|
||||
## 更多例子
|
||||
|
||||
https://github.com/async-graphql/examples/tree/master/warp
|
||||
|
|
Loading…
Reference in New Issue