1.11.0 (2022-06-30)
Features Added
- Added ability to track progress by passing
ProgressReporter
in theContext
. For example:HttpClient httpClient = new OkHttpAsyncHttpClientBuilder().build(); ProgressReporter progressReporter = ProgressReporter.withProgressListener(progress -> System.out.println(progress)); Context context = Contexts.empty().setHttpRequestProgressReporter(progressReporter).getContext(); HttpRequest request = new HttpRequest( HttpMethod.PUT, new URL("http://example.com"), new HttpHeaders(), BinaryData.fromString("sample body")) httpClient.send(request, context).subscribe();
Other Changes
- Added synchronous implementation of
HttpClient.sendSync
.
Dependency Updates
- Upgraded
azure-core
from1.29.1
to1.30.0
. - Upgraded OkHttp from
4.9.2
to4.10.0
.