This article is an announcement of a new feature.
It is not recommended that you rely on this article to learn how to use the feature.
The new feature will be described in detail in the documentation for the appropriate version.
For a complete list of changes in the new version, see the v8Update.htm file.
Planned for version 8.3.21
We've provided version 8.3.21 with a new feature. Now you can send HTTP requests asynchronously in all client applications: web client, thin client, thick client, mobile client. In addition, the web client will support HTTP requests at the level of up-to-date browsers.
Support for asynchronous sending of HTTP requests
We've added new methods to the HTTPConnection type for asynchronous operations with HTTP requests:
- CallHTTPMethodAsync
- WriteAsync
- PatchAsync
- PostAsync
- GetAsync
- HeadAsync
- DeleteAsync
Support for HTTP requests in web client
Now the web client will support the following types: HTTPConnection, HTTPRequest, HTTPResponse and OpenSSLSecureConnection.
Due to browser restrictions, the web client will not fully support the listed types. For example, all synchronous operations with HTTP requests will throw the following exception: Method is unavailable in the web client. All differences in the behavior will be described in the documentation.
Why we applied these changes
We've applied the listed changes for multiple reasons. There is a number of situations when you might need to operate with HTTP requests asynchronously and from the web client (including asynchronously). Here are some of them:
- Transfer large files from the client to the server.
- Download large files by the client.
- Interact with POS equipment drivers (for example, with fiscal cash registers) over HTTP from the web client. In this case, the server cannot detect this equipment as it is located on a client computer.
- Security policies deny access to external resources from the server.
- Interact with external API (for example, with IP telephony server) when you need to make a request on the client side with the client context.
- Operate with services that require authentication of an operating system with the client account (for example, with digital signature services).