Class Unmarshaller
This handler unmarshalls the HTTP response.
public class Unmarshaller : PipelineHandler, IPipelineHandler
- Inheritance
-
Unmarshaller
- Implements
- Inherited Members
Constructors
Unmarshaller(bool)
The constructor for Unmarshaller.
public Unmarshaller(bool supportsResponseLogging)
Parameters
supportsResponseLogging
boolBoolean value which indicated if the unmarshaller handler supports response logging.
Methods
InvokeAsync<T>(IExecutionContext)
Unmarshalls the response returned by the HttpHandler.
public override Task<T> InvokeAsync<T>(IExecutionContext executionContext) where T : AmazonWebServiceResponse, new()
Parameters
executionContext
IExecutionContextThe execution context, it contains the request and response context.
Returns
- Task<T>
A task that represents the asynchronous operation.
Type Parameters
T
The response type for the current request.
InvokeSync(IExecutionContext)
Unmarshalls the response returned by the HttpHandler.
public override void InvokeSync(IExecutionContext executionContext)
Parameters
executionContext
IExecutionContextThe execution context which contains both the requests and response context.