Table of Contents

Class DataReceivedEventArgs

Namespace
Selenium.WebDriver.BiDi.Cdp.Network
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Fired when data chunk was received over the network.

public sealed record DataReceivedEventArgs : EventArgs, IEquatable<EventArgs>, IEquatable<DataReceivedEventArgs>
Inheritance
EventArgs
DataReceivedEventArgs
Implements
IEquatable<EventArgs>
Inherited Members
EventArgs.ToString()
EventArgs.GetHashCode()
EventArgs.Equals(EventArgs)
EventArgs.<Clone>$()
EventArgs.BiDi
EventArgs.AdditionalData
EventArgs.AdditionalMessageData

Constructors

DataReceivedEventArgs(RequestId, MonotonicTime, long, long, string?)

Fired when data chunk was received over the network.

public DataReceivedEventArgs(RequestId RequestId, MonotonicTime Timestamp, long DataLength, long EncodedDataLength, string? Data = null)

Parameters

RequestId RequestId

Request identifier.

Timestamp MonotonicTime

Timestamp.

DataLength long

Data chunk length.

EncodedDataLength long

Actual bytes received (might be less than dataLength for compressed encodings).

Data string

Data that was received. (Encoded as a base64 string when passed over JSON)

Properties

Data

Data that was received. (Encoded as a base64 string when passed over JSON)

public string? Data { get; init; }

Property Value

string

DataLength

Data chunk length.

public long DataLength { get; init; }

Property Value

long

EncodedDataLength

Actual bytes received (might be less than dataLength for compressed encodings).

public long EncodedDataLength { get; init; }

Property Value

long

RequestId

Request identifier.

public RequestId RequestId { get; init; }

Property Value

RequestId

Timestamp

Timestamp.

public MonotonicTime Timestamp { get; init; }

Property Value

MonotonicTime