System.ClientModel_1.1.0-beta.2
Pre-release
Pre-release
1.1.0-beta.2 (2024-02-29)
Features Added
- Added
ExtractResponsemethod toPipelineMessageto enable returning an undisposedPipelineResponsefrom protocol methods. - Added
CreateAsyncfactory method toClientResultExceptionto allow creating exceptions in an async context. - Added an implicit cast from
stringtoApiKeyCredential. - Added an implicit cast from
ClientResult<T>toT.
Breaking Changes
- Changed
HttpClientPipelineTransport.SharedandClientRetryPolicy.Defaultfrom static readonly fields to static properties. - Changed
PipelineResponse.Contentproperty from abstract to virtual. - Removed the
ResponseBufferingPolicyand moved response buffering functionality intoPipelineTransport.
Other Changes
- Made
CancellationTokenparameter passed toBinaryContent.WriteTooptional.