StringContent class
StringContent class
Represents content based on a string.
Inheritance: StringContent →
ByteArrayContent →
Content
The StringContent type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
| init | Initializes a new instance of the StringContent class. |
| init | Initializes a new instance of the StringContent class. |
| init | Initializes a new instance of the StringContent class. |
Properties
| Property | Description |
|---|---|
| headers | Gets the HTTP content headers. |
Methods
| Method | Description |
|---|---|
| read_as_stream | Serialize the HTTP content and return a stream that represents the content. |
| read_as_byte_array | Serialize the HTTP content and return a byte array that represents the content. |
| read_as_string | Serialize the HTTP content and return a string that represents the content. |
See Also
- module
aspose.html.net - class
ByteArrayContent - class
Content - class
StringContent