WebSocketLink constructor
WebSocketLink(
- String url, {
- SocketClientConfig config = const SocketClientConfig(),
- String subProtocol = GraphQLProtocol.graphqlWs,
Creates a new WebSocketLink instance with the specified config.
Implementation
WebSocketLink(
this.url, {
this.config = const SocketClientConfig(),
this.subProtocol = GraphQLProtocol.graphqlWs,
});