HttpContent class

The HttpContent class that contains a SubscribableStream.

Constructors

HttpContent(IHttpContentHeaders, SubscribableStream)

Initializes a new instance of the HttpContent class.

Properties

headers

Methods

getStream()

Gets the data contained within this HttpContent.

Constructor Details

HttpContent(IHttpContentHeaders, SubscribableStream)

Initializes a new instance of the HttpContent class.

new HttpContent(headers: IHttpContentHeaders, stream: SubscribableStream)

Parameters

headers
IHttpContentHeaders

The Streaming Http content header definition.

stream
SubscribableStream

The stream of buffered data.

Property Details

headers

headers: IHttpContentHeaders

Property Value

Method Details

getStream()

Gets the data contained within this HttpContent.

function getStream(): SubscribableStream

Returns

This HttpContent's SubscribableStream member.