ByteArrayContent class

ByteArrayContent class

Represents content based on a byte array.

Inheritance: ByteArrayContentContent

The ByteArrayContent type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the ByteArrayContent class.

Properties

PropertyDescription
headersGets the HTTP content headers.

Methods

MethodDescription
read_as_streamSerialize the HTTP content and return a stream that represents the content.
read_as_byte_arraySerialize the HTTP content and return a byte array that represents the content.
read_as_stringSerialize the HTTP content and return a string that represents the content.

See Also