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
supportsResponseLoggingboolBoolean 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
executionContextIExecutionContextThe execution context, it contains the request and response context.
Returns
- Task<T>
A task that represents the asynchronous operation.
Type Parameters
TThe response type for the current request.
InvokeSync(IExecutionContext)
Unmarshalls the response returned by the HttpHandler.
public override void InvokeSync(IExecutionContext executionContext)
Parameters
executionContextIExecutionContextThe execution context which contains both the requests and response context.