C# Class Headless.BinaryPage

The BinaryPage class provides the binary response from a Browser request as an in-memory byte array.
This class stores the binary response from the server in memory. Care must be taken when using this class to load large amounts of binary data. Any data loaded from the server will remain in memory until the page instance is garbage collected.
Inheritance: Page
Mostrar archivo Open project: roryprimrose/Headless

Public Methods

Method Description
GetContent ( ) : byte[]

Gets the content of the page.

Protected Methods

Method Description
SetContent ( HttpContent content ) : void

Method Details

GetContent() public method

Gets the content of the page.
public GetContent ( ) : byte[]
return byte[]

SetContent() protected method

/// The parameter is null. ///
protected SetContent ( HttpContent content ) : void
content System.Net.Http.HttpContent
return void