Skip to main content

removeProtocol()

removeProtocol(customProtocol: string): void

Removes a previously added protocol in the main thread.

Parameters

Parameter Type Description
customProtocol string the custom protocol to remove registration for

Returns

void

Example

removeProtocol('custom');
Last updated August 23, 2024.