Skip to content

Http Class

The Http class is designed for handling requests to the Bitrix24 REST API via HTTP.

Implements the TypeHttp interface.

It uses the axios library to perform HTTP requests.

Handles authorization errors and automatically refreshes the access token when necessary.

Creates a RestrictionManager object to manage request rate limitations.

Creates a DefaultRequestIdGenerator object to generate unique request identifiers.

TIP

You can test working with Http in this example.

Restriction parameters are automatically set through the LicenseManager.

Released under the MIT License.