Class RequestData
- Namespace
- WebDriverBiDi.Network
- Assembly
- WebDriverBiDi.dll
A network request.
public record RequestData : IEquatable<RequestData>
- Inheritance
-
RequestData
- Implements
- Inherited Members
Constructors
RequestData(RequestData)
protected RequestData(RequestData original)
Parameters
originalRequestData
Properties
AdditionalData
Gets the read-only dictionary containing extension properties received in this request,
such as vendor-prefixed fields (for example, Chromium's goog: properties) that are
not part of the WebDriver BiDi specification.
[JsonIgnore]
public ReceivedDataDictionary AdditionalData { get; }
Property Value
BodySize
Gets the size, in bytes, of the body in the request.
[JsonPropertyName("bodySize")]
[JsonRequired]
[JsonInclude]
public ulong? BodySize { get; }
Property Value
Cookies
Gets the cookies of the request.
[JsonIgnore]
public IList<Cookie> Cookies { get; }
Property Value
Destination
Gets the destination of the request.
[JsonPropertyName("destination")]
[JsonRequired]
[JsonInclude]
public string Destination { get; }
Property Value
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Headers
Gets the headers of the request.
[JsonIgnore]
public IList<ReadOnlyHeader> Headers { get; }
Property Value
HeadersSize
Gets the size, in bytes, of the headers in the request.
[JsonPropertyName("headersSize")]
[JsonRequired]
[JsonInclude]
public ulong HeadersSize { get; }
Property Value
InitiatorType
Gets the initiator type of the request.
[JsonPropertyName("initiatorType")]
[JsonRequired]
[JsonInclude]
public string? InitiatorType { get; }
Property Value
Method
Gets the method of the request.
[JsonPropertyName("method")]
[JsonRequired]
[JsonInclude]
public string Method { get; }
Property Value
RequestId
Gets the ID of the request.
[JsonPropertyName("request")]
[JsonRequired]
[JsonInclude]
public string RequestId { get; }
Property Value
Timings
Gets the fetch timing info of the request.
[JsonPropertyName("timings")]
[JsonRequired]
[JsonInclude]
public FetchTimingInfo Timings { get; }
Property Value
Url
Gets the URL of the request.
[JsonPropertyName("url")]
[JsonRequired]
[JsonInclude]
public string Url { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(RequestData?)
public virtual bool Equals(RequestData? other)
Parameters
otherRequestData
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(RequestData?, RequestData?)
public static bool operator ==(RequestData? left, RequestData? right)
Parameters
leftRequestDatarightRequestData
Returns
operator !=(RequestData?, RequestData?)
public static bool operator !=(RequestData? left, RequestData? right)
Parameters
leftRequestDatarightRequestData