You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Borrow self in RawResponse, remote into_stream (Azure#3102)
There were problems with `BufResponse::into_stream()` masked by a build pipeline issue. Fixing the issue in a method I just added that we haven't yet released is not a priority for this release.
Copy file name to clipboardExpand all lines: sdk/core/azure_core/CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
- Added `http::response::BufResponseBody`, which also implements `Stream`.
10
10
- Added a `Pipeline::stream()` to return a `Result<BufResponse>`.
11
11
- Added `RawResponse::deconstruct()`.
12
-
- Added `ResponseBody::collect_string()`.
12
+
- Added `ResponseBody::into_string()`.
13
13
- Added `ResponseBody::from_bytes()`.
14
14
- Added the `cloud` module with types for configuring clients to use different Azure clouds.
15
15
- Implemented `AsRef<[u8]>` and `Deref<Target = [u8]>` for `ResponseBody`.
@@ -25,6 +25,7 @@
25
25
- Changed `RawResponse::json()` from `async` to a sync function. The body was already buffered.
26
26
- Changed `RawResponse::xml()` from `async` to a sync function. The body was already buffered.
27
27
- Changed `Response<T, F>` to fully sync; it holds a `RawResponse` that was already buffered entirely from the service so no longer needs or defines async functions.
28
+
- Changed `ResponseBody::json()` and `xml()` to borrow `self`.
28
29
- Removed `create_extensible_enum` and `create_enum` macros.
Copy file name to clipboardExpand all lines: sdk/typespec/typespec_client_core/CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
- Added `Error::with_error_fn()`.
9
9
- Added `http::response::BufResponseBody`, which also implements `Stream`.
10
10
- Added `RawResponse::deconstruct()`.
11
-
- Added `ResponseBody::collect_string()`.
11
+
- Added `ResponseBody::into_string()`.
12
12
- Added `ResponseBody::from_bytes()`.
13
13
- Added a `Pipeline::stream()` to return a `Result<BufResponse>`.
14
14
- Implemented `AsRef<[u8]>` and `Deref<Target = [u8]>` for `ResponseBody`.
@@ -23,6 +23,7 @@
23
23
- Changed `RawResponse::json()` from `async` to a sync function. The body was already buffered.
24
24
- Changed `RawResponse::xml()` from `async` to a sync function. The body was already buffered.
25
25
- Changed `Response<T, F>` to fully sync; it holds a `RawResponse` that was already buffered entirely from the service so no longer needs or defines async functions.
26
+
- Changed `ResponseBody::json()` and `xml()` to borrow `self`.
26
27
- Removed `create_extensible_enum` and `create_enum` macros.
0 commit comments