Table of Contents

Class RemoteServiceResponse<TData>

Namespace
GroupeIsa.Neos.ClusterCommunication
Assembly
GroupeIsa.Neos.ClusterCommunication.dll

Represents a response from a remote service invocation containing both deserialized data and the complete HTTP response.

public class RemoteServiceResponse<TData>

Type Parameters

TData

The type of the response data.

Inheritance
RemoteServiceResponse<TData>
Inherited Members

Constructors

RemoteServiceResponse(TData?, HttpResponseMessage)

Initializes a new instance of the RemoteServiceResponse<TData> class.

public RemoteServiceResponse(TData? data, HttpResponseMessage httpResponse)

Parameters

data TData

The deserialized response data.

httpResponse HttpResponseMessage

The HTTP response message.

Properties

Data

Gets the deserialized response data.

public TData? Data { get; }

Property Value

TData

HttpResponse

Gets the complete HTTP response message, including headers, status code, and other metadata.

public HttpResponseMessage HttpResponse { get; }

Property Value

HttpResponseMessage