Azure Connectors Node.js SDK
    Preparing search index...

    Class ConnectorHttpClient

    HTTP client for connector operations with retry and authentication.

    Index
    • Sends an HTTP request with authentication and retry.

      Type Parameters

      • TValue = unknown

      Parameters

      • method: string

        The HTTP method.

      • url: string

        The request URL.

      • Optionalscopes: string[]

        The authentication scopes. Defaults to API Hub scopes.

      • Optionalbody: unknown

        Optional JSON or multipart form-data request body.

      • OptionalabortSignal: AbortSignalLike

        Optional abort signal for caller-initiated cancellation.

      • OptionaltracingOptions: OperationTracingOptions

        Optional tracing context for the HTTP span.

      • OptionalrequestHeaders: Readonly<Record<string, string>>

        Service-specific request headers.

      • responseAsBlob: boolean = false

        Whether successful response content should be returned as a Blob.

      Returns Promise<ConnectorResponse<TValue>>