C# Класс 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.
Наследование: Page
Показать файл Открыть проект

Открытые методы

Метод Описание
GetContent ( ) : byte[]

Gets the content of the page.

Защищенные методы

Метод Описание
SetContent ( HttpContent content ) : void

Описание методов

GetContent() публичный Метод

Gets the content of the page.
public GetContent ( ) : byte[]
Результат byte[]

SetContent() защищенный Метод

/// The parameter is null. ///
protected SetContent ( HttpContent content ) : void
content System.Net.Http.HttpContent
Результат void