Merge pull request #1970 from deepak1556/scheme_patch

protocol: api to register custom schemes to standard schemes
This commit is contained in:
Cheng Zhao 2015-06-19 16:16:46 +08:00
commit 49e1316f7f
8 changed files with 47 additions and 0 deletions

View file

@ -39,6 +39,12 @@ response you would like to send.
Unregisters the custom protocol of `scheme`.
## protocol.registerStandardSchemes(value)
* `value` Array
`value` is an array of custom schemes to be registered to the standard.
## protocol.isHandledProtocol(scheme)
* `scheme` String