Skip to content

Allow HTTP and WebSocket To Use The Same Path #30

Closed
@rstoyanchev

Description

@rstoyanchev

Currently we use a separate path property for WebSocket with a default of "/graphql/websocket" to avoid a collision with GET "/graphql" for GraphiQL. However this shouldn't be necessary. Given the WebSocket HandlerMapping is ordered ahead, we can make it skip requests that aren't a WebSocket upgrade.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions