Class ResponseContent
- Namespace
- WebDriverBiDi.Network
- Assembly
- WebDriverBiDi.dll
Content of a response.
public record ResponseContent : IEquatable<ResponseContent>
- Inheritance
-
ResponseContent
- Implements
- Inherited Members
Constructors
ResponseContent(ResponseContent)
protected ResponseContent(ResponseContent original)
Parameters
originalResponseContent
Properties
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
Size
Gets the decoded size, in bytes, of the response body.
[JsonPropertyName("size")]
[JsonRequired]
[JsonInclude]
public ulong Size { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ResponseContent?)
public virtual bool Equals(ResponseContent? other)
Parameters
otherResponseContent
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 ==(ResponseContent?, ResponseContent?)
public static bool operator ==(ResponseContent? left, ResponseContent? right)
Parameters
leftResponseContentrightResponseContent
Returns
operator !=(ResponseContent?, ResponseContent?)
public static bool operator !=(ResponseContent? left, ResponseContent? right)
Parameters
leftResponseContentrightResponseContent