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
TDataThe 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
dataTDataThe deserialized response data.
httpResponseHttpResponseMessageThe 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; }