Table of Contents

Class CdpHttpResponse

Namespace
PuppeteerSharp.Cdp
Assembly
PuppeteerSharp.dll

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class CdpHttpResponse : Response<CdpHttpRequest>, IResponse
Inheritance
CdpHttpResponse
Implements

Properties

FromCache

True if the response was served from either the browser's disk cache or memory cache.

public override bool FromCache { get; }

Property Value

bool

Methods

BufferAsync()

Returns a Task which resolves to a buffer with response body.

public override ValueTask<byte[]> BufferAsync()

Returns

ValueTask<byte[]>

A Task which resolves to a buffer with response body.