# Poem
## 请求例子
```rust
use poem::Route;
use async_graphql_poem::GraphQL;
let app = Route::new()
.at("/ws", GraphQL::new(schema));
```
## 订阅例子
```rust
use poem::Route;
use async_graphql_poem::GraphQLSubscription;
let app = Route::new()
.at("/ws", get(GraphQLSubscription::new(schema)));
```
## 更多例子
[https://github.com/async-graphql/examples/tree/master/poem](https://github.com/async-graphql/examples/tree/master/poem)