onRequestWillBeSent property

Stream<RequestWillBeSentEvent> get onRequestWillBeSent

Fired when page is about to send HTTP request.

Implementation

Stream<RequestWillBeSentEvent> get onRequestWillBeSent => _client.onEvent
    .where((event) => event.name == 'Network.requestWillBeSent')
    .map((event) => RequestWillBeSentEvent.fromJson(event.parameters));