onSendHeaders property

EventStream<OnSendHeadersDetails> get onSendHeaders

Fired just before a request is going to be sent to the server (modifications of previous onBeforeSendHeaders callbacks are visible by the time onSendHeaders is fired).

Implementation

EventStream<OnSendHeadersDetails> get onSendHeaders =>
    $js.chrome.webRequest.onSendHeaders
        .asStream(($c) => ($js.OnSendHeadersDetails details) {
              return $c(OnSendHeadersDetails.fromJS(details));
            });