The members of System.Net.HttpWebRequest are listed below.
See Also: Inherited members from System.Net.WebRequest
Initializes a new instance of the System.Net.HttpWebRequest class from the specified instances of the System.Runtime.Serialization.SerializationInfo and System.Runtime.Serialization.StreamingContext classes. |
Accept | string.
Gets or sets the value of the Accept HTTP header. | |
[read-only] | Address | Uri.
Gets the Uniform Resource Identifier (URI) of the Internet resource that actually responds to the request. |
AllowAutoRedirect | bool.
Gets or sets a value that indicates whether the request should follow redirection responses. | |
AllowReadStreamBuffering | bool.
Gets or sets a value that indicates whether to buffer the received from the Internet resource. | |
AllowWriteStreamBuffering | bool.
Gets or sets a value that indicates whether to buffer the data sent to the Internet resource. | |
AutomaticDecompression | DecompressionMethods.
Gets or sets the type of decompression that is used. | |
ClientCertificates | System.Security.Cryptography.X509Certificates.X509CertificateCollection.
Gets or sets the collection of security certificates that are associated with this request. | |
Connection | string.
Gets or sets the value of the Connection HTTP header. | |
override | ConnectionGroupName | string.
Gets or sets the name of the connection group for the request. |
override | ContentLength | long.
Gets or sets the Content-length HTTP header. |
override | ContentType | string.
Gets or sets the value of the Content-type HTTP header. |
ContinueDelegate | HttpContinueDelegate.
Gets or sets the delegate method called when an HTTP 100-continue response is received from the Internet resource. | |
ContinueTimeout | int.
Gets or sets a timeout, in milliseconds, to wait until the 100-Continue is received from the server. | |
CookieContainer | CookieContainer.
Gets or sets the cookies associated with the request. | |
override | Credentials | ICredentials.
Gets or sets authentication information for the request. |
Date | DateTime.
Get or set the Date HTTP header value to use in an HTTP request. | |
static | DefaultCachePolicy | System.Net.Cache.RequestCachePolicy.
Gets or sets the default cache policy for this request. |
static | DefaultMaximumErrorResponseLength | int.
Gets or sets the default maximum length of an HTTP error response. |
static | DefaultMaximumResponseHeadersLength | int.
Gets or sets the default for the HttpWebRequest.MaximumResponseHeadersLength property. |
Expect | string.
Gets or sets the value of the Expect HTTP header. | |
[read-only] | HaveResponse | bool.
Gets a value that indicates whether a response has been received from an Internet resource. |
override | Headers | WebHeaderCollection.
Specifies a collection of the name/value pairs that make up the HTTP headers. |
Host | string.
Get or set the Host header value to use in an HTTP request independent from the request URI. | |
IfModifiedSince | DateTime.
Gets or sets the value of the If-Modified-Since HTTP header. | |
KeepAlive | bool.
Gets or sets a value that indicates whether to make a persistent connection to the Internet resource. | |
MaximumAutomaticRedirections | int.
Gets or sets the maximum number of redirects that the request follows. | |
MaximumResponseHeadersLength | int.
Gets or sets the maximum allowed length of the response headers. | |
MediaType | string.
Gets or sets the media type of the request. | |
override | Method | string.
Gets or sets the method for the request. |
Pipelined | bool.
Gets or sets a value that indicates whether to pipeline the request to the Internet resource. | |
override | PreAuthenticate | bool.
Gets or sets a value that indicates whether to send an Authorization header with the request. |
ProtocolVersion | Version.
Gets or sets the version of HTTP to use for the request. | |
override | Proxy | IWebProxy.
Gets or sets proxy information for the request. |
ReadWriteTimeout | int.
Gets or sets a time-out in milliseconds when writing to or reading from a stream. | |
Referer | string.
Gets or sets the value of the Referer HTTP header. | |
[read-only] override | RequestUri | Uri.
Gets the original Uniform Resource Identifier (URI) of the request. |
SendChunked | bool.
Gets or sets a value that indicates whether to send data in segments to the Internet resource. | |
[read-only] | ServicePoint | ServicePoint.
Gets the service point to use for the request. |
[read-only] | SupportsCookieContainer | bool.
Gets a value that indicates whether the request provides support for a System.Net.CookieContainer. |
override | Timeout | int.
Gets or sets the time-out value in milliseconds for the HttpWebRequest.GetResponse and HttpWebRequest.GetRequestStream methods. |
TransferEncoding | string.
Gets or sets the value of the Transfer-encoding HTTP header. | |
UnsafeAuthenticatedConnectionSharing | bool.
Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing. | |
override | UseDefaultCredentials | bool.
Gets or sets a bool value that controls whether default credentials are sent with requests. |
UserAgent | string.
Gets or sets the value of the User-agent HTTP header. |
override | Abort()
| |
AddRange(int)
| ||
AddRange(long)
| ||
AddRange(int, int)
| ||
AddRange(long, long)
| ||
AddRange(string, int)
| ||
AddRange(string, long)
| ||
AddRange(string, int, int)
| ||
AddRange(string, long, long)
| ||
override | BeginGetRequestStream(AsyncCallback, object)
| |
override | BeginGetResponse(AsyncCallback, object)
| |
override | EndGetRequestStream(IAsyncResult)
| |
EndGetRequestStream(IAsyncResult, out TransportContext)Documentation for this section has not yet been entered. | ||
override | EndGetResponse(IAsyncResult)
| |
override | GetHashCode()Generates a hash code for the current instance. | |
override | GetRequestStream()
| |
override | GetResponse()
|
override | GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
|
System.Runtime.Serialization.ISerializable.GetObjectData |
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object. |