New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@azure/core-http-compat

Package Overview
Dependencies
Maintainers
3
Versions
358
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/core-http-compat

Core HTTP Compatibility Library to bridge the gap between Core V1 & V2 packages.

latest
Source
npmnpm
Version
2.5.0
Version published
Weekly downloads
5.7M
-52.89%
Maintainers
3
Weekly downloads
 
Created
Source

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;
}

Keywords

azure

FAQs

Package last updated on 13 Jul 2026

Related posts