WebClient Constructor
Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9119)
WebClient()
Initializes a new instance of the WebClient class.
Declaration
public WebClient()
WebClient(HttpRequestCreator)
Initializes a new instance of the WebClient class with specified HTTP request creator. This enables sharing keep-alive connections between instances of WebClient and WebRequest. However please note that Settings, LogWriter and ValidatingCertificate properties are shared between all instances as well. This means that changing such property affects behavior of all instances as well.
Declaration
protected WebClient(HttpRequestCreator creator)
Parameters
Type | Name | Description |
---|---|---|
HttpRequestCreator | creator |