NanoByte.Common 2.11.0
NanoByte.Common.Net.WebClientTimeout Class Reference

Adds a customizable timout to WebClient. More...

Inheritance diagram for NanoByte.Common.Net.WebClientTimeout:

Public Member Functions

 WebClientTimeout ()
 Creates a new WebClient using DefaultTimeout.
 WebClientTimeout (int timeout)
 Creates a new WebClient. More...

Static Public Attributes

const int DefaultTimeout = 20000
 The default timeout value, in milliseconds, used when no explicit value is specified.

Protected Member Functions

override WebRequest GetWebRequest (Uri address)

Detailed Description

Adds a customizable timout to WebClient.

Constructor & Destructor Documentation

◆ WebClientTimeout()

NanoByte.Common.Net.WebClientTimeout.WebClientTimeout ( int  timeout)

Creates a new WebClient.

timeoutThe length of time, in milliseconds, before requests made by this WebClient time out.

The documentation for this class was generated from the following file: