1.1.0-beta.4 (2024-05-16)
Features Added
- Added
BufferResponse
property toRequestOptions
so protocol method callers can turn off response buffering if desired. - Added
AsyncResultCollection<T>
andResultCollection<T>
for clients to return from service methods where the service response contains a collection of values. - Added
AsyncPageableCollection<T>
,PageableCollection<T>
andResultPage<T>
for clients to return from service methods where collection values are delivered to the client over one or more service responses. - Added
SetRawResponse
method toClientResult
to allow the response held by the result to be changed, for example by derived types that obtain multiple responses from polling the service.
Breaking Changes
ClientResult.GetRawResponse
will now throwInvalidOperationException
if called before the result's raw response is set, for example by collection result types that delay sending a request to the service until the collection is enumerated.