onWebSocketHandshakeResponseReceived property

Stream<WebSocketHandshakeResponseReceivedEvent> get onWebSocketHandshakeResponseReceived

Fired when WebSocket handshake response becomes available.

Implementation

Stream<WebSocketHandshakeResponseReceivedEvent>
    get onWebSocketHandshakeResponseReceived => _client.onEvent
        .where((event) =>
            event.name == 'Network.webSocketHandshakeResponseReceived')
        .map((event) => WebSocketHandshakeResponseReceivedEvent.fromJson(
            event.parameters));