strawberry.channels.router

GraphQLWebSocketRouter.

This is a simple router class that might be better placed as part of Channels itself. It’s a simple “SubProtocolRouter” that selects the websocket subprotocol based on preferences and client support. Then it hands off to the appropriate consumer.

Classes