編輯

共用方式為


ExtensionEventCallbackCollection interface

Collection of event callbacks - endpoints called when particular extension events occur.

Properties

postDisable

Optional. Defines an endpoint that gets called via a POST request to notify that an extension disable has occurred.

postEnable

Optional. Defines an endpoint that gets called via a POST request to notify that an extension enable has occurred.

postInstall

Optional. Defines an endpoint that gets called via a POST request to notify that an extension install has completed.

postUninstall

Optional. Defines an endpoint that gets called via a POST request to notify that an extension uninstall has occurred.

postUpdate

Optional. Defines an endpoint that gets called via a POST request to notify that an extension update has occurred.

preInstall

Optional. Defines an endpoint that gets called via a POST request to notify that an extension install is about to occur. Response indicates whether to proceed or abort.

versionCheck

For multi-version extensions, defines an endpoint that gets called via an OPTIONS request to determine the particular version of the extension to be used

Property Details

postDisable

Optional. Defines an endpoint that gets called via a POST request to notify that an extension disable has occurred.

postDisable: ExtensionEventCallback

Property Value

postEnable

Optional. Defines an endpoint that gets called via a POST request to notify that an extension enable has occurred.

postEnable: ExtensionEventCallback

Property Value

postInstall

Optional. Defines an endpoint that gets called via a POST request to notify that an extension install has completed.

postInstall: ExtensionEventCallback

Property Value

postUninstall

Optional. Defines an endpoint that gets called via a POST request to notify that an extension uninstall has occurred.

postUninstall: ExtensionEventCallback

Property Value

postUpdate

Optional. Defines an endpoint that gets called via a POST request to notify that an extension update has occurred.

postUpdate: ExtensionEventCallback

Property Value

preInstall

Optional. Defines an endpoint that gets called via a POST request to notify that an extension install is about to occur. Response indicates whether to proceed or abort.

preInstall: ExtensionEventCallback

Property Value

versionCheck

For multi-version extensions, defines an endpoint that gets called via an OPTIONS request to determine the particular version of the extension to be used

versionCheck: ExtensionEventCallback

Property Value