Readonly
appReadonly
appGet the application version string.
The complete version (major and minor) string. (eg. "5.0")
Readonly
miscGet the application comment misc portion.
Readonly
oscpuGet the current oscpu.
The oscpu this application is running on
Readonly
platformGet the current platform.
The platform this application is running on (eg. "Windows", "Macintosh", "X11")
Readonly
rfpGet the HTTP advertised user agent string.
Readonly
schemeThe scheme of this protocol (e.g., "file").
Readonly
userGet the HTTP advertised user agent string.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Allows a protocol to override blacklisted ports.
This method will be called when there is an attempt to connect to a port that is blacklisted. For example, for most protocols, port 25 (Simple Mail Transfer) is banned. When a URI containing this "known-to-do-bad-things" port number is encountered, this function will be called to ask if the protocol handler wants to override the ban.
Create a new channel with the given proxyInfo
the channel uri
any proxy information that has already been determined, or null if channel should later determine the proxy on its own using proxyResolveFlags/proxyURI
used if the proxy is later determined from nsIProtocolProxyService::asyncResolve
used if the proxy is later determined from nsIProtocolProxyService::asyncResolve with this as the proxyURI name. Generally this is the same as uri (or null which has the same effect), except in the case of websockets which wants to bootstrap to an http:// channel but make its proxy determination based on a ws:// uri.
used to evaluate who initated the resource request.
Generated using TypeDoc
Get the application name.
Returns
The name of this application (eg. "Mozilla").