onResponseReceivedEarlyHints property

Stream<ResponseReceivedEarlyHintsEvent> get onResponseReceivedEarlyHints

Fired when 103 Early Hints headers is received in addition to the common response. Not every responseReceived event will have an responseReceivedEarlyHints fired. Only one responseReceivedEarlyHints may be fired for eached responseReceived event.

Implementation

Stream<ResponseReceivedEarlyHintsEvent> get onResponseReceivedEarlyHints =>
    _client.onEvent
        .where((event) => event.name == 'Network.responseReceivedEarlyHints')
        .map(
          (event) =>
              ResponseReceivedEarlyHintsEvent.fromJson(event.parameters),
        );