StreamContent Class
StreamContent class
Represents content based on a stream.
public class StreamContent : Content
Constructors
Name | Description |
---|---|
StreamContent(Stream) | Initializes a new instance of the StreamContent class. |
Properties
Name | Description |
---|---|
Headers { get; } | Gets the HTTP content headers. |
Methods
Name | Description |
---|---|
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
ReadAsByteArray() | Serialize the HTTP content and return a byte array that represents the content. |
ReadAsStream() | Serialize the HTTP content and return a stream that represents the content. |
ReadAsString() | Serialize the HTTP content and return a string that represents the content. |
See Also
- class Content
- namespace Aspose.Html.Net
- assembly Aspose.HTML