Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
chrome
webRequest
WebRequestBeforeSendHeadersEvent
Interface WebRequestBeforeSendHeadersEvent
Hierarchy
Event
WebRequestBeforeSendHeadersEvent
Index
Methods
addListener
addRules
getRules
hasListener
hasListeners
removeListener
removeRules
Methods
public
addListener
(
callback
:
(details: chrome.webRequest.OnBeforeSendHeadersDetails) => void
, filter
?:
RequestFilter
, opt_extraInfoSpec
?:
Array<string>
)
Parameters
callback:
(details: chrome.webRequest.OnBeforeSendHeadersDetails) => void
filter?:
RequestFilter
optional
opt_extraInfoSpec?:
Array<string>
optional
public
addRules
(
rules
:
Rule
[]
, callback
?:
(rules: chrome.events.Rule[]) => void
)
Parameters
rules:
Rule
[]
callback?:
(rules: chrome.events.Rule[]) => void
optional
public
getRules
(
callback
:
(rules: chrome.events.Rule[]) => void
)
Parameters
callback:
(rules: chrome.events.Rule[]) => void
public
getRules
(
ruleIdentifiers
:
Array<string>
, callback
:
(rules: chrome.events.Rule[]) => void
)
Parameters
ruleIdentifiers:
Array<string>
callback:
(rules: chrome.events.Rule[]) => void
public
hasListener
(
callback
:
Function
)
Parameters
callback:
Function
public
hasListeners
(
)
:
boolean
Returns
boolean
public
removeListener
(
callback
:
Function
)
Parameters
callback:
Function
public
removeRules
(
ruleIdentifiers
?:
Array<string>
, callback
?:
Function
)
Parameters
ruleIdentifiers?:
Array<string>
optional
callback?:
Function
optional
Globals
chrome
chrome
chrome.alarms
chrome.bookmarks
chrome.browserAction
chrome.browsingData
chrome.commands
chrome.contentSettings
chrome.contextMenus
chrome.cookies
chrome.declarativeWebRequest
chrome.devtools
chrome.devtools.inspectedWindow
chrome.devtools.network
chrome.devtools.panels
chrome.downloads
chrome.events
chrome.extension
chrome.fileBrowserHandler
chrome.fontSettings
chrome.history
chrome.i18n
chrome.identity
chrome.idle
chrome.input
chrome.input.ime
chrome.management
chrome.notifications
chrome.omnibox
chrome.pageAction
chrome.pageCapture
chrome.permissions
chrome.privacy
chrome.proxy
chrome.runtime
chrome.scriptBadge
chrome.socket
chrome.storage
chrome.tabs
chrome.topSites
chrome.tts
chrome.ttsEngine
chrome.types
chrome.webNavigation
chrome.webRequest
chrome.webstore
chrome.windows
MAX_HANDLER_BEHAVIOR_CHANGED_CALLS_PER_10_MINUTES
onAuthRequired
onBeforeRedirect
onBeforeRequest
onBeforeSendHeaders
onCompleted
onErrorOccurred
onHeadersReceived
onResponseStarted
onSendHeaders
AuthCredentials
BlockingResponse
Challenger
OnAuthRequiredDetails
OnBeforeRedirectDetails
OnBeforeRequestDetails
OnBeforeSendHeadersDetails
OnCompletedDetails
OnErrorOccurredDetails
OnHeadersReceivedDetails
OnResponseStartedDetails
OnSendHeadersDetails
RequestBody
RequestFilter
UploadData
WebRequestAuthRequiredEvent
WebRequestBeforeRedirectEvent
WebRequestBeforeRequestEvent
WebRequestBeforeSendHeadersEvent
addListener
addRules
getRules
hasListener
hasListeners
removeListener
removeRules
WebRequestCompletedEvent
WebRequestErrorOccurredEvent
WebRequestHeadersReceivedEvent
WebRequestResponseStartedEvent
WebRequestSendHeadersEvent
handlerBehaviorChanged