Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • WebPlugin
    • HttpWeb

Implements

Index

Constructors

constructor

Properties

Optional config

config: WebPluginConfig
deprecated

WebPluginConfig deprecated in v3 and will be removed in v4.

Protected listeners

listeners: {}

Type declaration

  • [eventName: string]: ListenerCallback[]

Protected windowListeners

windowListeners: {}

Type declaration

  • [eventName: string]: WindowListenerHandle

Methods

addListener

  • addListener(eventName: string, listenerFunc: ListenerCallback): Promise<PluginListenerHandle> & PluginListenerHandle
  • Parameters

    • eventName: string
    • listenerFunc: ListenerCallback

    Returns Promise<PluginListenerHandle> & PluginListenerHandle

clearCookies

del

deleteCookie

downloadFile

get

getCookie

getCookies

getCookiesMap

Protected hasListeners

  • hasListeners(eventName: string): boolean
  • Parameters

    • eventName: string

    Returns boolean

Protected notifyListeners

  • notifyListeners(eventName: string, data: any): void
  • Parameters

    • eventName: string
    • data: any

    Returns void

patch

post

put

Protected registerWindowListener

  • registerWindowListener(windowEventName: string, pluginEventName: string): void
  • Parameters

    • windowEventName: string
    • pluginEventName: string

    Returns void

removeAllListeners

  • removeAllListeners(): Promise<void>
  • Returns Promise<void>

request

setCookie

Protected unavailable

  • unavailable(msg?: string): CapacitorException
  • Parameters

    • Optional msg: string

    Returns CapacitorException

Protected unimplemented

  • unimplemented(msg?: string): CapacitorException
  • Parameters

    • Optional msg: string

    Returns CapacitorException

uploadFile

Generated using TypeDoc