Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InnerBatchRequest

Package version

Inner batch request class which is responsible for assembling and serializing sub requests. See https://docs.microsoft.com/en-us/rest/api/storageservices/blob-batch#request-body for how requests are assembled.

Hierarchy

  • InnerBatchRequest

Index

Constructors

constructor

Methods

appendSubRequestToBody

  • appendSubRequestToBody(request: WebResource): void

createPipeline

  • Create pipeline to assemble sub requests. The idea here is to use existing credential and serialization/deserialization components, with additional policies to filter unnecessary headers, assemble sub requests into request's body and intercept request from going to wire.

    Parameters

    • credential: StorageSharedKeyCredential | AnonymousCredential | TokenCredential

      Such as AnonymousCredential, StorageSharedKeyCredential or any credential from the @azure/identity package to authenticate requests to the service. You can also provide an object that implements the TokenCredential interface. If not specified, AnonymousCredential is used.

    Returns Pipeline

getHttpRequestBody

  • getHttpRequestBody(): string

getMultipartContentType

  • getMultipartContentType(): string

getSubRequests

postAddSubRequest

preAddSubRequest

Generated using TypeDoc