Class StreamFrame
- Namespace
- Kuestenlogik.Bowire
- Assembly
- Kuestenlogik.Bowire.dll
One frame yielded by a server-streaming call that exposes wire bytes.
Json is the display / recording form; Binary
is what the mock server replays on the wire.
public sealed record StreamFrame : IEquatable<StreamFrame>
- Inheritance
-
StreamFrame
- Implements
- Inherited Members
Constructors
StreamFrame(string, byte[]?)
One frame yielded by a server-streaming call that exposes wire bytes.
Json is the display / recording form; Binary
is what the mock server replays on the wire.
public StreamFrame(string Json, byte[]? Binary)
Parameters
Properties
Binary
public byte[]? Binary { get; init; }
Property Value
- byte[]
Json
public string Json { get; init; }
Property Value
Methods
Deconstruct(out string, out byte[]?)
public void Deconstruct(out string Json, out byte[]? Binary)
Parameters
Equals(StreamFrame?)
public bool Equals(StreamFrame? other)
Parameters
otherStreamFrame
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(StreamFrame?, StreamFrame?)
public static bool operator ==(StreamFrame? left, StreamFrame? right)
Parameters
leftStreamFramerightStreamFrame
Returns
operator !=(StreamFrame?, StreamFrame?)
public static bool operator !=(StreamFrame? left, StreamFrame? right)
Parameters
leftStreamFramerightStreamFrame