File tree Expand file tree Collapse file tree 5 files changed +3
-19
lines changed
Expand file tree Collapse file tree 5 files changed +3
-19
lines changed Original file line number Diff line number Diff line change 3838 <PackageVersion Include =" RichardSzalay.MockHttp" Version =" 7.0.0" />
3939 <PackageVersion Include =" System.Net.Http.Json" Version =" 9.0.0" />
4040 <PackageVersion Include =" Xunit.Extensions.Logging" Version =" 1.1.0" />
41- <PackageVersion Include =" xunit.runner.visualstudio" Version =" 3.0.0 " PrivateAssets =" All" />
41+ <PackageVersion Include =" xunit.runner.visualstudio" Version =" 2.8.2 " PrivateAssets =" All" />
4242 <PackageVersion Include =" xunit" Version =" 2.9.2" />
4343 <PackageVersion Include =" WireMock.Net" Version =" 1.6.10" />
4444 <PackageVersion Include =" WireMock.Net.FluentAssertions" Version =" 1.5.51" />
Original file line number Diff line number Diff line change 11<Project >
22 <Import Project =" $([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), 'RestSharp.sln'))\props\Common.props" />
33 <PropertyGroup >
4- <TargetFrameworks >netstandard2.0;net462 ;net8.0;net9.0</TargetFrameworks >
4+ <TargetFrameworks >netstandard2.0;net471;net48 ;net8.0;net9.0</TargetFrameworks >
55 <PackageIcon >restsharp.png</PackageIcon >
66 <PackageLicenseExpression >Apache-2.0</PackageLicenseExpression >
77 <PackageProjectUrl >https://restsharp.dev</PackageProjectUrl >
Original file line number Diff line number Diff line change @@ -83,12 +83,6 @@ public static string GetNonce() {
8383 /// </summary>
8484 /// <param name="value">The value to escape.</param>
8585 /// <returns>The escaped value.</returns>
86- /// <remarks>
87- /// The <see cref="Uri.EscapeDataString" /> method is <i>supposed</i> to take on
88- /// RFC 3986 behavior if certain elements are present in a .config file. Even if this
89- /// actually worked (which in my experiments it <i>doesn't</i>), we can't rely on every
90- /// host actually having this configuration element present.
91- /// </remarks>
9286 [ return : NotNullIfNotNull ( nameof ( value ) ) ]
9387 public static string ? UrlEncodeRelaxed ( string ? value ) {
9488 if ( value == null ) return null ;
Original file line number Diff line number Diff line change @@ -181,16 +181,6 @@ public RestClientOptions(string baseUrl) : this(new Uri(Ensure.NotEmptyString(ba
181181 /// </summary>
182182 public CookieContainer ? CookieContainer { get ; set ; }
183183
184- /// <summary>
185- /// Maximum request duration in milliseconds. When the request timeout is specified using <seealso cref="RestRequest.Timeout"/>,
186- /// the lowest value between the client timeout and request timeout will be used.
187- /// </summary>
188- [ Obsolete ( "Use Timeout instead." ) ]
189- public int MaxTimeout {
190- get => ( int ) ( Timeout ? . TotalMilliseconds ?? 0 ) ;
191- set => Timeout = TimeSpan . FromMilliseconds ( value ) ;
192- }
193-
194184 /// <summary>
195185 /// Request duration. Used when the request timeout is not specified using <seealso cref="RestRequest.Timeout"/>,
196186 /// </summary>
Original file line number Diff line number Diff line change 33 <PropertyGroup >
44 <IsTestProject >true</IsTestProject >
55 <IsPackable >false</IsPackable >
6- <TargetFrameworks >net462 ;net8.0;net9.0</TargetFrameworks >
6+ <TargetFrameworks >net48 ;net8.0;net9.0</TargetFrameworks >
77 <Nullable >disable</Nullable >
88 <NoWarn >xUnit1033</NoWarn >
99 <VSTestLogger >trx%3bLogFileName=$(MSBuildProjectName).trx</VSTestLogger >
You can’t perform that action at this time.
0 commit comments