Skip to content

Commit

Permalink
Remove nullable and update release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyBatt committed Aug 15, 2018
1 parent 4901d86 commit 4fd4cc2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### new in 1.0.7.2 (Release 2018/08/15)
* New: IGetRequest.WithTimeout - Set HTTP timeout on per-request basis

### new in 1.0.7.1 (Release 2018/08/09)
* Fixed: Assembly version should match Nuget package version

Expand Down
2 changes: 1 addition & 1 deletion source/Draft/Requests/GetRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public IGetRequest WithRecursive(bool recursive = true)
return this;
}

public IGetRequest WithTimeout(TimeSpan? timeout)
public IGetRequest WithTimeout(TimeSpan timeout)
{
_httpTimeout = timeout;
return this;
Expand Down
4 changes: 2 additions & 2 deletions source/Draft/Requests/IGetRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ public interface IGetRequest
IGetRequest WithRecursive(bool recursive = true);

/// <summary>
/// Override the default timeout for this request. null results in the HttpClient default timeout.
/// Override the default timeout for this request.
/// </summary>
IGetRequest WithTimeout(TimeSpan? timeout);
IGetRequest WithTimeout(TimeSpan timeout);

}
}

0 comments on commit 4fd4cc2

Please sign in to comment.