Esempio n. 1
0
 /// <summary>
 /// Sets the client timout to the specified number of seconds.
 /// </summary>
 /// <param name="seconds">Number of seconds to wait before the request times out.</param>
 /// <returns>The modified FlurlClient.</returns>
 public static FlurlClient WithTimeout(this FlurlClient client, int seconds)
 {
     return(client.WithTimeout(TimeSpan.FromSeconds(seconds)));
 }