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
Afficher le fichier Open project: roryprimrose/Headless

Méthodes publiques

Méthode Description
GetContent ( ) : byte[]

Gets the content of the page.

Méthodes protégées

Méthode Description
SetContent ( HttpContent content ) : void

Method Details

GetContent() public méthode

Gets the content of the page.
public GetContent ( ) : byte[]
Résultat byte[]

SetContent() protected méthode

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