Update examples

This commit is contained in:
Sunli 2021-11-13 16:15:25 +08:00
parent 98b7b46882
commit 4576d30ed6
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit aef1433bdc1c98d98632972d24ac1065e25fe90f
Subproject commit e53b181afe66589bb8519fe350456685eca85e31

View File

@ -12,7 +12,7 @@ use poem::{http, Endpoint, FromRequest, IntoResponse, Request, RequestBody, Resp
///
/// It extract GraphQL protocol from `SEC_WEBSOCKET_PROTOCOL` header.
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub struct GraphQLProtocol(WebSocketProtocols);
pub struct GraphQLProtocol(pub WebSocketProtocols);
#[poem::async_trait]
impl<'a> FromRequest<'a> for GraphQLProtocol {