<分区>
我见过:
http://www...
ftp://blah.blah...
file://blah.blah...
unreal://blah.blah...
mailto://blah.blah...
http
之类的第一部分叫什么?
我可以自己注册吗?
<分区>
我见过:
http://www...
ftp://blah.blah...
file://blah.blah...
unreal://blah.blah...
mailto://blah.blah...
http
之类的第一部分叫什么?
我可以自己注册吗?
最佳答案
带有HTTP://
、FTP://
等的部分称为URI Schemes
您可以通过注册表注册您自己的。
HKEY_CLASSES_ROOT/
your-protocol-name/
(Default) "URL:your-protocol-name Protocol"
URL Protocol ""
shell/
open/
command/
(Default) PathToExecutable
来源:https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml , http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx
关于windows - 如何创建自己的 URL 协议(protocol)? (例如 ://. ..),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12081579/
相关文章:
windows - 使用协议(protocol)处理程序(即 :url))从 Chrome 打开 Internet Explorer
arrays - 将符合多个协议(protocol)的类型转换为单个协议(protocol)
Apache 代理 : No protocol handler was valid
python - tkinter 中的 Windows 终端仿真器
c++ - 在为视频游戏实现基本的二进制序列化时,是否需要担心可移植性?
java - 有没有 'standard way'来解析关于:blank URL's in Java?
swift - 带有关联值的枚举 + 泛型 + 带有关联类型的协议(protocol)