![]() |
RAD Studio 10.3.1 HTTP and SOAP Clients Enhancements
In RAD Studio 10.3, Embarcadero moved the SOAP client implementation to the HTTP client library for all platforms, given the issues support HTTPS with the previous architecture (based on Indy) on mobile platforms. On Windows, there was already a native implementation, but based on an older Windows HTTP client library.*
This change caused some incompatibilities, we have started addressing in 10.3.1 -- considering this is a non-interface breaking features, so we added class helpers rather than changing the original code in some cases. Managing Certificates The biggest change in 10.3 was that the THTTPReqResp implementation was replaced using the THTTPClient class, which offers certificates support with a slightly different interface and set of features. Now in 10.3.1 there are several implementation changes in the System.Net.HttpClient.Win.pas unit. Here are more details:
http://blog.marcocantu.com/images/fo...lients,png.PNG HTTP Decompression The second significant enhancement in 10.3.1 compared to 10.3 for HTTP client and SOAP clients is the improved support for HTTP client library decompression. There are now new types in System.Net.HttpClient: THTTPCompressionMethod = (Deflate, GZip, Brotli, Any);THTTPCompressionMethods = set of THTTPCompressionMethod; This feature is exposed in new runtime properties of a few related classes, which control automatic decompression of response body: THTTPClient.AutomaticDecompressionTNewHTTPClient.A utomaticDecompressionTHTTPReqResp.AutomaticDecompr ession When this property is set, the corresponding "Accept-Encoding" header will be included into request, and response body will be automatically decoded. The actual implementation is platform dependent and currently supported on Windows and Linux. On iOS, macOS, and Android platforms decoding is performed automatically by the operating system. Enjoy RAD Studio 10.3.1 That's all for now. If you missed an overview of what's in 10.3.1, read David's summary at* ![]() http://feeds.feedburner.com/~r/marco...~4/rwcA408FPGI ![]() |
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:10 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz