Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

WebClient Constructor

Namespace: Rebex.Net
Assembly: Rebex.Http.dll (version 7.0.9147)

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
In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies