Table of Contents

Struct ApiClientBase.HttpResult<T>

Namespace
VpnHood.Net.Toolkit.ApiClients
Assembly
VpnHood.Net.Toolkit.dll

Represents a response read as an object.

protected readonly struct ApiClientBase.HttpResult<T>

Type Parameters

T

The object's type.

Inherited Members

Properties

Object

Gets the object read from the response.

public required T Object { get; init; }

Property Value

T

ResponseMessage

Gets the response, already disposed by the time the send returns: its status and headers can be read, not its content.

public required HttpResponseMessage ResponseMessage { get; init; }

Property Value

HttpResponseMessage

Text

Gets the response's text, when it was read as text; otherwise, empty.

public required string Text { get; init; }

Property Value

string