Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StorageClientContext

Package version

Hierarchy

Index

Constructors

constructor

  • new StorageClientContext(url: string, options?: coreHttp.ServiceClientOptions): StorageClientContext

Properties

Protected Optional baseUri

baseUri: undefined | string

If specified, this is the base URI that requests will be made against for this ServiceClient. If it is not specified, then all OperationSpecs must contain a baseUrl property.

Protected Optional requestContentType

requestContentType: undefined | string

The default request content type for the service. Used if no requestContentType is present on an OperationSpec.

url

url: string

version

version: string

Methods

sendOperationRequest

  • Send an HTTP request that is populated using the provided OperationSpec.

    Parameters

    • operationArguments: OperationArguments

      The arguments that the HTTP request's templated values will be populated from.

    • operationSpec: OperationSpec

      The OperationSpec to use to populate the httpRequest.

    • Optional callback: ServiceCallback<any>

      The callback to call when the response is received.

    Returns Promise<RestResponse>

sendRequest

Generated using TypeDoc