C# Class Amazon.Runtime.Internal.DefaultRequest

Default implementation of the IRequest interface.

This class is only intended for internal use inside the AWS client libraries. Callers shouldn't ever interact directly with objects of this class.

Inheritance: IRequest
Show file Open project: scopely/aws-sdk-net Class Usage Examples

Public Methods

Method Description
ComputeContentStreamHash ( ) : string

Computes the SHA 256 hash of the content stream. If the stream is not seekable, it searches the parent stream hierarchy to find a seekable stream prior to computation. Once computed, the hash is cached for future use. If a suitable stream cannot be found to use, null is returned.

DefaultRequest ( AmazonWebServiceRequest request, String serviceName ) : System

Constructs a new DefaultRequest with the specified service name and the original, user facing request object.

Method Details

ComputeContentStreamHash() public method

Computes the SHA 256 hash of the content stream. If the stream is not seekable, it searches the parent stream hierarchy to find a seekable stream prior to computation. Once computed, the hash is cached for future use. If a suitable stream cannot be found to use, null is returned.
public ComputeContentStreamHash ( ) : string
return string

DefaultRequest() public method

Constructs a new DefaultRequest with the specified service name and the original, user facing request object.
public DefaultRequest ( AmazonWebServiceRequest request, String serviceName ) : System
request Amazon.Runtime.AmazonWebServiceRequest The orignal request that is being wrapped
serviceName String The service name
return System