Class ProtoHttpExchangeResult
One completed exchange: the response the caller now owns, its text body and buffered bytes.
public sealed record ProtoHttpExchangeResult : IEquatable<ProtoHttpExchangeResult>
- Inheritance
-
ProtoHttpExchangeResult
- Implements
- Inherited Members
- Extension Methods
Constructors
ProtoHttpExchangeResult(HttpResponseMessage, string, byte[])
One completed exchange: the response the caller now owns, its text body and buffered bytes.
public ProtoHttpExchangeResult(HttpResponseMessage Response, string Body, byte[] BodyBytes)
Parameters
ResponseHttpResponseMessageBodystringBodyBytesbyte[]
Properties
Body
public string Body { get; init; }
Property Value
BodyBytes
public byte[] BodyBytes { get; init; }
Property Value
- byte[]
Response
public HttpResponseMessage Response { get; init; }