onWebSocketCreated property

Stream<WebSocketCreatedEvent> get onWebSocketCreated

Fired upon WebSocket creation.

Implementation

Stream<WebSocketCreatedEvent> get onWebSocketCreated => _client.onEvent
    .where((event) => event.name == 'Network.webSocketCreated')
    .map((event) => WebSocketCreatedEvent.fromJson(event.parameters));