1.1.0-beta.2 (2024-02-29)
Features Added
- Added
ExtractResponse
method toPipelineMessage
to enable returning an undisposedPipelineResponse
from protocol methods. - Added
CreateAsync
factory method toClientResultException
to allow creating exceptions in an async context. - Added an implicit cast from
string
toApiKeyCredential
. - Added an implicit cast from
ClientResult<T>
toT
.
Breaking Changes
- Changed
HttpClientPipelineTransport.Shared
andClientRetryPolicy.Default
from static readonly fields to static properties. - Changed
PipelineResponse.Content
property from abstract to virtual. - Removed the
ResponseBufferingPolicy
and moved response buffering functionality intoPipelineTransport
.
Other Changes
- Made
CancellationToken
parameter passed toBinaryContent.WriteTo
optional.