Socket
Socket
Sign inDemoInstall

@azure/core-http-compat

Package Overview
Dependencies
13
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

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.


Version published
Weekly downloads
1.4M
increased by5.74%
Maintainers
2
Install size
4.56 MB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 11 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc