removeProtocol()
removeProtocol(
customProtocol
:string
):void
定义于: src/source/protocol_crud.ts:46
在主线程中移除先前添加的协议。
参数
参数 | 类型 | 描述 |
---|---|---|
customProtocol | string | 要移除注册的自定义协议 |
返回值
void
示例
removeProtocol('custom');
removeProtocol(
customProtocol
:string
):void
定义于: src/source/protocol_crud.ts:46
在主线程中移除先前添加的协议。
参数 | 类型 | 描述 |
---|---|---|
customProtocol | string | 要移除注册的自定义协议 |
void
removeProtocol('custom');