Skip to 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');

Source

src/source/protocol_crud.ts:46