onSendHeaders
fun onSendHeaders(filter: WebRequestFilter, listener: (details: OnSendHeadersListenerDetails) -> Unit?)(source)
The listener
will be called with listener(details)
just before a request is going to be sent to the server, modifications of previous onBeforeSendHeaders
response are visible by the time this listener is fired.