Back to index

lightning-sunbird  0.9+nobinonly
Defines
nsChannelProperties.h File Reference

This file contains constants for properties channels can expose. More...

#include "nsLiteralString.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NS_CHANNEL_PROP_CONTENT_LENGTH_STR   "content-length"
 Content-Length of a channel.
#define NS_CHANNEL_PROP_CONTENT_LENGTH   NS_LITERAL_STRING(NS_CHANNEL_PROP_CONTENT_LENGTH_STR)

Detailed Description

This file contains constants for properties channels can expose.

They can be accessed by using QueryInterface to access the nsIPropertyBag or nsIPropertyBag2 interface on a channel and reading the value.

Definition in file nsChannelProperties.h.


Define Documentation

Definition at line 64 of file nsChannelProperties.h.

Content-Length of a channel.

Used instead of the nsIChannel.contentLength property. Not available before onStartRequest has been called. Type: PRUint64

Definition at line 59 of file nsChannelProperties.h.