| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | #nullable enable |
| | 5 | |
|
| | 6 | | namespace Azure.Core |
| | 7 | | { |
| | 8 | | internal static class ResponseWithHeaders |
| | 9 | | { |
| | 10 | | public static ResponseWithHeaders<T, THeaders> FromValue<T, THeaders>(T value, THeaders headers, Response rawRes |
| | 11 | | { |
| 3172 | 12 | | return new ResponseWithHeaders<T, THeaders>(value, headers, rawResponse); |
| | 13 | | } |
| | 14 | |
|
| | 15 | | public static ResponseWithHeaders<THeaders> FromValue<THeaders>(THeaders headers, Response rawResponse) |
| | 16 | | { |
| 852 | 17 | | return new ResponseWithHeaders<THeaders>(headers, rawResponse); |
| | 18 | | } |
| | 19 | | } |
| | 20 | | } |