Interface WebRequestCompletedEvent

Hierarchy

  • Event
    • WebRequestCompletedEvent

Index

Methods

Methods

public addListener(callback: (details: chrome.webRequest.OnCompletedDetails) => void, filter?: RequestFilter, opt_extraInfoSpec?: Array<string>)

Parameters

  • callback: (details: chrome.webRequest.OnCompletedDetails) => 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