C# Класс 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.

Наследование: IRequest
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

ComputeContentStreamHash() публичный Метод

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
Результат string

DefaultRequest() публичный Метод

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
Результат System