Options
All
  • Public
  • Public/Protected
  • All
Menu

Module batch

Index

Functions

Const formatBatchRequest

  • formatBatchRequest(requests: BatchRequest<any>[], boundary: string): string
  • format batch request string body

    Parameters

    • requests: BatchRequest<any>[]
    • boundary: string

      a given boundary id

    Returns string

Const formatBatchRequestForOData401

  • formatBatchRequestForOData401(requests?: BatchRequestV4<any>[]): JsonBatchRequestBundle

Const formatHttpRequestString

  • formatHttpRequestString(u: string, r: any): string
  • Parameters

    • u: string
    • r: any

    Returns string

Const parseMultiPartContent

  • parseMultiPartContent(multipartBody: string, boundaryId: string): Promise<ParsedResponse<any>[]>
  • Parameters

    • multipartBody: string
    • boundaryId: string

    Returns Promise<ParsedResponse<any>[]>

Const parseResponse2

  • parseResponse2(httpResponseString: string): Promise<ParsedResponse<any>>
  • parse stringify response in multipart

    Parameters

    • httpResponseString: string

    Returns Promise<ParsedResponse<any>>

Generated using TypeDoc