Skip to content

Commit

Permalink
Ability to explicitly set http timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Apr 10, 2019
1 parent 38bf84b commit fc9ff94
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ReportPortal.Client/Service.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,21 @@ public Service(Uri uri, string project, string password, IWebProxy proxy)
{
}

/// <summary>
/// Timeout for http requests.
/// </summary>
public TimeSpan Timeout
{
get
{
return _httpClient.Timeout;
}
set
{
_httpClient.Timeout = value;
}
}

/// <summary>
/// Get or set project name to interact with.
/// </summary>
Expand Down

0 comments on commit fc9ff94

Please sign in to comment.