nsINetUtil

IID:f0c5dddb-4713-4603-af2d-bf671838996b
Inherits From:nsISupports

nsINetUtil provides various network-related utility methods.

This interface is implemented by the following components:


Methods

AUTF8String parseContentType ( AUTF8String typeHeader , out AUTF8String charset , out PRBool hadCharset )

AUTF8String parseContentType ( AUTF8String typeHeader , out AUTF8String charset , out PRBool hadCharset )

Parse a content-type header and return the content type and charset (if any).

Arguments:
typeHeader: the header string to parse
charset
hadCharset
Returns:
the MIME type specified in the header, in lower-case.

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com