Class Signer
This handler signs the request.
public class Signer : PipelineHandler, IPipelineHandler
- Inheritance
-
Signer
- Implements
- Inherited Members
Constructors
Signer()
public Signer()
Methods
InvokeAsync<T>(IExecutionContext)
Calls pre invoke logic before calling the next handler in the pipeline.
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)
Calls pre invoke logic before calling the next handler in the pipeline.
public override void InvokeSync(IExecutionContext executionContext)
Parameters
executionContextIExecutionContextThe execution context which contains both the requests and response context.
PreInvoke(IExecutionContext)
Signs the request before invoking the next handler.
protected static void PreInvoke(IExecutionContext executionContext)
Parameters
executionContextIExecutionContextThe execution context, it contains the request and response context.
PreInvokeAsync(IExecutionContext)
protected static Task PreInvokeAsync(IExecutionContext executionContext)
Parameters
executionContextIExecutionContext
Returns
SignRequest(IRequestContext)
Signs the request.
public static void SignRequest(IRequestContext requestContext)
Parameters
requestContextIRequestContextThe request context.