WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIHttpProtocolHandler

IID:122c91c0-2485-40ba-89c9-b895934921bc
Inherits From:nsIProxiedProtocolHandler

This interface is implemented by the following components:


Properties

readonly ACString appName

Get the application name.

readonly ACString appVersion

Get the application version string.

ACString language

Get the translation of the application. The value for language is usually a 2-letter code such as "en" and occasionally a five-character code to indicate a language subtype, such as "zh_CN".

ACString misc

Get/Set the application comment misc portion.

readonly ACString oscpu

Get the current oscpu.

readonly ACString platform

Get the current platform.

ACString product

ACString productComment

ACString productSub

readonly ACString userAgent

Get the HTTP advertised user agent string.

ACString vendor

ACString vendorComment

ACString vendorSub

Reference documentation is generated from Mozilla's source.