WebRequest Members
The following tables list the members exposed by the WebRequest type.
Protected Constructors
Name | Description | |
---|---|---|
WebRequest | Initializes a new instance of the WebRequest class. |
Public Properties
Name | Description | |
---|---|---|
ConnectionGroupName | When overridden in a descendant class, gets or sets the name of the connection group for the request. | |
ContentLength | When overridden in a descendant class, gets or sets the content length of the request data being sent. | |
ContentType | When overridden in a descendant class, gets or sets the content type of the request data being sent. | |
DefaultWebProxy | Gets or sets the global HTTP proxy. | |
Headers | When overridden in a descendant class, gets or sets the collection of header name/value pairs associated with the request. | |
Method | When overridden in a descendant class, gets or sets the protocol method to use in this request. | |
Proxy | When overridden in a descendant class, gets or sets the network proxy to use to access this Internet resource. | |
RequestUri | When overridden in a descendant class, gets the URI of the Internet resource associated with the request. | |
Timeout | Gets or sets the length of time, in milliseconds, before the request times out. |
Public Methods
Name | Description | |
---|---|---|
Create | Overloaded. Creates a WebRequest instance. | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetRequestStream | When overridden in a descendant class, returns a Stream for writing data to the Internet resource. | |
GetResponse | When overridden in a descendant class, returns a response to an Internet request. | |
GetType | (Inherited from Object.) | |
ReferenceEquals | (Inherited from Object.) | |
RegisterPrefix | Registers a WebRequest descendant for the specified URI. | |
ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
MemberwiseClone | (Inherited from Object.) |