Callback which fires upon download progress.
Callback which fires upon upload progress.
A function that returns the proper OperationResponse for the given OperationSpec and HttpOperationResponse combination. If this is undefined, then a simple status code lookup will be used.
Whether or not the HttpOperationResponse should be deserialized. If this is undefined, then the HttpOperationResponse should be deserialized.
Options used to create a span when tracing is enabled.
Whether or not the body of the HttpOperationResponse should be treated as a stream.
Clone this WebResource HTTP request object.
The clone of this WebResource HTTP request object.
Prepares the request.
Options to provide for preparing the request.
Returns the prepared WebResource (HTTP Request) object that needs to be given to the request pipeline.
Validates that the required properties such as method, url, headers["Content-Type"], headers["accept-language"] are defined. It will throw an error if one of the above mentioned properties are not defined.
Generated using TypeDoc
Creates a new WebResource object.
This class provides an abstraction over a REST call by being library / implementation agnostic and wrapping the necessary properties to initiate a request.