Class AmazonWebServiceRequest
Base class for request used by some of the services.
public abstract class AmazonWebServiceRequest : IAmazonWebServiceRequest
- Inheritance
-
AmazonWebServiceRequest
- Implements
- Inherited Members
Constructors
AmazonWebServiceRequest()
protected AmazonWebServiceRequest()
Properties
Expect100Continue
Gets or Sets a value indicating if "Expect: 100-continue" HTTP header will be sent by the client for this request. The default value is false.
protected virtual bool Expect100Continue { get; }
Property Value
IncludeSHA256Header
protected virtual bool IncludeSHA256Header { get; }
Property Value
ReadWriteTimeoutInternal
Overrides the default read-write timeout value.
protected TimeSpan? ReadWriteTimeoutInternal { get; set; }
Property Value
Remarks
If the value is set, the value is assigned to the ReadWriteTimeout property of the HTTPWebRequest/WebRequestHandler object used to send requests.
The timeout specified is null. The timeout specified is less than or equal to zero and is not Infinite.- See Also
-
System.Net.Http.WebRequestHandler.ReadWriteTimeout
TimeoutInternal
Overrides the default request timeout value.
protected TimeSpan? TimeoutInternal { get; set; }
Property Value
Remarks
If the value is set, the value is assigned to the Timeout property of the HTTPWebRequest/HttpClient object used to send requests.
Please specify a timeout value only if the operation will not complete within the default intervals specified for an HttpWebRequest/HttpClient.
Exceptions
- ArgumentNullException
The timeout specified is null.
- ArgumentOutOfRangeException
The timeout specified is less than or equal to zero and is not Infinite.
- See Also
-
System.Net.Http.HttpClient.Timeout
Methods
CreateSigner()
Gets the signer to use for this request. A null return value indicates to use the configured signer for the service that this request is part of.
protected virtual AbstractAWSSigner CreateSigner()
Returns
- AbstractAWSSigner
A signer for this request, or null.