codeql-action/node_modules/@azure/core-http-compat
2024-10-10 19:22:32 +00:00
..
dist Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482) 2024-10-01 09:59:05 -07:00
node_modules Update checked-in dependencies 2024-10-10 19:22:32 +00:00
LICENSE Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482) 2024-10-01 09:59:05 -07:00
package.json Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482) 2024-10-01 09:59:05 -07:00
README.md Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V2_UPGRADE enabled (#2482) 2024-10-01 09:59:05 -07:00

Azure Core HTTP Compatibility library for JavaScript

This library provides classes and interfaces to be used by Azure client libraries that want to move from using @azure/core-http to @azure/core-client & @azure/core-rest-pipeline without causing breaking changes in their public API surface.

Usage

ExtendedCommonClientOptions

With @azure/core-http library, the options parameter to the custom client will look like:

export interface SearchClientOptions extends PipelineOptions {
  apiVersion?: string;
}

With the @azure/core-client & @azure/core-rest-pipeline libraries, the options parameter to the custom client will look like:

export interface SearchClientOptions extends CommonClientOptions {
  apiVersion?: string;
}

With the Core HTTP Compatibility library, the options parameter to the custom client will look like:

export interface SearchClientOptions extends ExtendedCommonClientOptions {
  apiVersion?: string;
}