Options
All
  • Public
  • Public/Protected
  • All
Menu
classdesc

OData Http client

summary

Create a new class that implements this type in order to intercept the OData request/response.

Hierarchy

  • ODataHttpClient

Implements

  • HttpClient

Index

Constructors

Properties

callbackParameterName?: string

Callback parameter name of OData http client.

enableJsonPCallback?: boolean

Enable json pcallback of OData http client.

formatQueryString?: string = oData.net.defaultHttpClient.formatQueryString

Format query string of OData http client.

Methods

  • request(request: Request, success: (response: Response) => void, error: (error: Error) => void): RequestWithAbort
  • Requests the OData http client.

    Parameters

    • request: Request

      The request.

    • success: (response: Response) => void

      The success callback.

        • (response: Response): void
        • Parameters

          • response: Response

          Returns void

    • error: (error: Error) => void

      The error callback.

        • (error: Error): void
        • Parameters

          • error: Error

          Returns void

    Returns RequestWithAbort

    The HttpOData request.

Generated using TypeDoc