SolrNet: HttpWebAdapters.Adapters.HttpWebRequestAdapter Class Reference

SolrNet

HttpWebAdapters.Adapters.HttpWebRequestAdapter Class Reference

Inheritance diagram for HttpWebAdapters.Adapters.HttpWebRequestAdapter:

List of all members.

Public Member Functions

 HttpWebRequestAdapter (HttpWebRequest request)
IHttpWebResponse GetResponse ()
IAsyncResult BeginGetResponse (AsyncCallback callback, object state)
IHttpWebResponse EndGetResponse (IAsyncResult result)
IAsyncResult BeginGetRequestStream (AsyncCallback callback, object state)
Stream EndGetRequestStream (IAsyncResult result)
Stream GetRequestStream ()
void Abort ()
void AddRange (int from, int to)
void AddRange (int range)
void AddRange (string rangeSpecifier, int from, int to)
void AddRange (string rangeSpecifier, int range)

Properties

HttpWebRequestMethod Method [get, set]
bool AllowAutoRedirect [get, set]
bool AllowWriteStreamBuffering [get, set]
bool HaveResponse [get]
bool KeepAlive [get, set]
bool Pipelined [get, set]
bool PreAuthenticate [get, set]
bool UnsafeAuthenticatedConnectionSharing [get, set]
bool SendChunked [get, set]
DecompressionMethods AutomaticDecompression [get, set]
int MaximumResponseHeadersLength [get, set]
X509CertificateCollection ClientCertificates [get, set]
CookieContainer CookieContainer [get, set]
Uri RequestUri [get]
long ContentLength [get, set]
int Timeout [get, set]
int ReadWriteTimeout [get, set]
Uri Address [get]
ServicePoint ServicePoint [get]
int MaximumAutomaticRedirections [get, set]
ICredentials Credentials [get, set]
bool UseDefaultCredentials [get, set]
string ConnectionGroupName [get, set]
WebHeaderCollection Headers [get, set]
IWebProxy Proxy [get, set]
Version ProtocolVersion [get, set]
string ContentType [get, set]
string MediaType [get, set]
string TransferEncoding [get, set]
string Connection [get, set]
string Accept [get, set]
string Referer [get, set]
string UserAgent [get, set]
string Expect [get, set]
DateTime IfModifiedSince [get, set]
 Gets or sets the value of the If-Modified-Since HTTP header.

Member Function Documentation

void HttpWebAdapters.Adapters.HttpWebRequestAdapter.Abort (  )

summary> Adds a byte range header to the request for a specified range. /summary>

param name="to">The position at which to stop sending data.

param name="from">The position at which to start sending data.

exception cref="T:System.ArgumentException">rangeSpecifier is invalid.

exception cref="T:System.ArgumentOutOfRangeException">from is greater than to-or- from or to is less than 0.

exception cref="T:System.InvalidOperationException">The range header could not be added.

Implements HttpWebAdapters.IHttpWebRequest.

void HttpWebAdapters.Adapters.HttpWebRequestAdapter.AddRange ( string  rangeSpecifier,
int  range 
)

summary> Gets or sets a value that indicates whether the request should follow redirection responses. /summary>

returns> true if the request should automatically follow redirection responses from the Internet resource; otherwise, false. The default value is true. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

void HttpWebAdapters.Adapters.HttpWebRequestAdapter.AddRange ( int  from,
int  to 
)

summary> Adds a byte range header to a request for a specific range from the beginning or end of the requested data. /summary>

param name="range">The starting or ending point of the range.

exception cref="T:System.ArgumentException">rangeSpecifier is invalid.

exception cref="T:System.InvalidOperationException">The range header could not be added.

Implements HttpWebAdapters.IHttpWebRequest.

void HttpWebAdapters.Adapters.HttpWebRequestAdapter.AddRange ( int  range )

summary> Adds a range header to a request for a specified range. /summary>

param name="from">The position at which to start sending data.

param name="to">The position at which to stop sending data.

param name="rangeSpecifier">The description of the range.

exception cref="T:System.ArgumentException">rangeSpecifier is invalid.

exception cref="T:System.ArgumentNullException">rangeSpecifier is null.

exception cref="T:System.ArgumentOutOfRangeException">from is greater than to-or- from or to is less than 0.

exception cref="T:System.InvalidOperationException">The range header could not be added.

Implements HttpWebAdapters.IHttpWebRequest.

void HttpWebAdapters.Adapters.HttpWebRequestAdapter.AddRange ( string  rangeSpecifier,
int  from,
int  to 
)

summary> Adds a range header to a request for a specific range from the beginning or end of the requested data. /summary>

param name="range">The starting or ending point of the range.

param name="rangeSpecifier">The description of the range.

exception cref="T:System.ArgumentException">rangeSpecifier is invalid.

exception cref="T:System.ArgumentNullException">rangeSpecifier is null.

exception cref="T:System.InvalidOperationException">The range header could not be added.

Implements HttpWebAdapters.IHttpWebRequest.

Stream HttpWebAdapters.Adapters.HttpWebRequestAdapter.EndGetRequestStream ( IAsyncResult  result )

summary> Gets a T:System.IO.Stream object to use to write request data. /summary>

returns> A T:System.IO.Stream to use to write request data. /returns>

exception cref="T:System.InvalidOperationException">The M:System.Net.HttpWebRequest.GetRequestStream method is called more than once.-or- P:System.Net.HttpWebRequest.TransferEncoding is set to a value and P:System.Net.HttpWebRequest.SendChunked is false.

exception cref="T:System.ObjectDisposedException">In a .NET Compact Framework application, a request stream with zero content length was not obtained and closed correctly. For more information about handling zero content length requests, see Network Programming in the .NET Compact Framework.

exception cref="T:System.Net.WebException">M:System.Net.HttpWebRequest.Abort was previously called.-or- The time-out period for the request expired.-or- An error occurred while processing the request.

exception cref="T:System.NotSupportedException">The request cache validator indicated that the response for this request can be served from the cache; however, requests that write data must not use the cache. This exception can occur if you are using a custom cache validator that is incorrectly implemented.

exception cref="T:System.Net.ProtocolViolationException">The P:System.Net.HttpWebRequest.Method property is GET or HEAD.-or- P:System.Net.HttpWebRequest.KeepAlive is true, P:System.Net.HttpWebRequest.AllowWriteStreamBuffering is false, P:System.Net.HttpWebRequest.ContentLength is -1, P:System.Net.HttpWebRequest.SendChunked is false, and P:System.Net.HttpWebRequest.Method is POST or PUT.

<PermissionSet><IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"><IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"><IPermission class="System.Net.DnsPermission, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"><IPermission class="System.Net.WebPermission, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"><IPermission class="System.Diagnostics.PerformanceCounterPermission, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"></PermissionSet>

Implements HttpWebAdapters.IHttpWebRequest.

Stream HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetRequestStream (  )

summary> Cancels a request to an Internet resource. /summary> PermissionSet><IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"><IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" flags="UnmanagedCode, ControlEvidence"></PermissionSet>

Implements HttpWebAdapters.IHttpWebRequest.


Property Documentation

string HttpWebAdapters.Adapters.HttpWebRequestAdapter.Accept [get, set]

summary> Gets or sets the value of the Referer HTTP header. /summary>

returns> The value of the Referer HTTP header. The default value is null. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

Uri HttpWebAdapters.Adapters.HttpWebRequestAdapter.Address [get]

summary> Gets the service point to use for the request. /summary>

returns> A T:System.Net.ServicePoint that represents the network connection to the Internet resource. /returns> PermissionSet><IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"><IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" flags="UnmanagedCode, ControlEvidence"></PermissionSet>

Implements HttpWebAdapters.IHttpWebRequest.

bool HttpWebAdapters.Adapters.HttpWebRequestAdapter.AllowAutoRedirect [get, set]

summary> Gets or sets a value that indicates whether to buffer the data sent to the Internet resource. /summary>

returns> true to enable buffering of the data sent to the Internet resource; false to disable buffering. The default is true. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

bool HttpWebAdapters.Adapters.HttpWebRequestAdapter.AllowWriteStreamBuffering [get, set]

summary> Gets a value that indicates whether a response has been received from an Internet resource. /summary>

returns> true if a response has been received; otherwise, false. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

DecompressionMethods HttpWebAdapters.Adapters.HttpWebRequestAdapter.AutomaticDecompression [get, set]

summary> Gets or sets the maximum allowed length of the response headers. /summary>

returns> The length, in kilobytes (1024 bytes), of the response headers. /returns>

exception cref="T:System.InvalidOperationException">The property is set after the request has already been submitted.

exception cref="T:System.ArgumentOutOfRangeException">The value is less than 0 and is not equal to -1.

Implements HttpWebAdapters.IHttpWebRequest.

X509CertificateCollection HttpWebAdapters.Adapters.HttpWebRequestAdapter.ClientCertificates [get, set]

summary> Gets or sets the cookies associated with the request. /summary>

returns> A T:System.Net.CookieContainer that contains the cookies associated with this request. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

string HttpWebAdapters.Adapters.HttpWebRequestAdapter.Connection [get, set]

summary> Gets or sets the value of the Accept HTTP header. /summary>

returns> The value of the Accept HTTP header. The default value is null. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

string HttpWebAdapters.Adapters.HttpWebRequestAdapter.ConnectionGroupName [get, set]

summary> Specifies a collection of the name/value pairs that make up the HTTP headers. /summary>

returns> A T:System.Net.WebHeaderCollection that contains the name/value pairs that make up the headers for the HTTP request. /returns>

exception cref="T:System.InvalidOperationException">The request has been started by calling the M:System.Net.HttpWebRequest.GetRequestStream, M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object), M:System.Net.HttpWebRequest.GetResponse, or M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object) method.

<PermissionSet><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" flags="UnmanagedCode, ControlEvidence"></PermissionSet>

Implements HttpWebAdapters.IHttpWebRequest.

long HttpWebAdapters.Adapters.HttpWebRequestAdapter.ContentLength [get, set]

summary> Gets or sets the time-out value for the M:System.Net.HttpWebRequest.GetResponse and M:System.Net.HttpWebRequest.GetRequestStream methods. /summary>

returns> The number of milliseconds to wait before the request times out. The default is 100,000 milliseconds (100 seconds). /returns>

exception cref="T:System.ArgumentOutOfRangeException">The value specified is less than zero and is not F:System.Threading.Timeout.Infinite.

Implements HttpWebAdapters.IHttpWebRequest.

string HttpWebAdapters.Adapters.HttpWebRequestAdapter.ContentType [get, set]

summary> Gets or sets the media type of the request. /summary>

returns> The media type of the request. The default value is null. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

CookieContainer HttpWebAdapters.Adapters.HttpWebRequestAdapter.CookieContainer [get, set]

summary> Gets the original Uniform Resource Identifier (URI) of the request. /summary>

returns> A T:System.Uri that contains the URI of the Internet resource passed to the M:System.Net.WebRequest.Create(System.String) method. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

ICredentials HttpWebAdapters.Adapters.HttpWebRequestAdapter.Credentials [get, set]

summary> Gets or sets a T:System.Boolean value that controls whether default credentials are sent with requests. /summary>

returns> true if the default credentials are used; otherwise false. The default value is false. /returns>

exception cref="T:System.InvalidOperationException">You attempted to set this property after the request was sent.

<PermissionSet><IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" read="USERNAME"></PermissionSet>

Implements HttpWebAdapters.IHttpWebRequest.

string HttpWebAdapters.Adapters.HttpWebRequestAdapter.Expect [get, set]

summary> Gets or sets the value of the If-Modified-Since HTTP header. /summary>

returns> A T:System.DateTime that contains the contents of the If-Modified-Since HTTP header. The default value is the current date and time. /returns> PermissionSet><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" flags="UnmanagedCode, ControlEvidence"></PermissionSet>

Implements HttpWebAdapters.IHttpWebRequest.

bool HttpWebAdapters.Adapters.HttpWebRequestAdapter.HaveResponse [get]

summary> Gets or sets a value that indicates whether to make a persistent connection to the Internet resource. /summary>

returns> true if the request to the Internet resource should contain a Connection HTTP header with the value Keep-alive; otherwise, false. The default is true. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

WebHeaderCollection HttpWebAdapters.Adapters.HttpWebRequestAdapter.Headers [get, set]

summary> Gets or sets proxy information for the request. /summary>

returns> The T:System.Net.IWebProxy object to use to proxy the request. The default value is set by calling the P:System.Net.GlobalProxySelection.Select property. /returns>

exception cref="T:System.Security.SecurityException">The caller does not have permission for the requested operation.

exception cref="T:System.ArgumentNullException">P:System.Net.HttpWebRequest.Proxy is set to null.

exception cref="T:System.InvalidOperationException">The request has been started by calling M:System.Net.HttpWebRequest.GetRequestStream, M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object), M:System.Net.HttpWebRequest.GetResponse, or M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object).

<PermissionSet><IPermission class="System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"><IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" flags="UnmanagedCode, ControlEvidence"><IPermission class="System.Net.WebPermission, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"></PermissionSet>

Implements HttpWebAdapters.IHttpWebRequest.

DateTime HttpWebAdapters.Adapters.HttpWebRequestAdapter.IfModifiedSince [get, set]

Gets or sets the value of the If-Modified-Since HTTP header.

Returns:
A T:System.DateTime that contains the contents of the If-Modified-Since HTTP header. The default value is the current date and time.

<PermissionSet><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" flags="UnmanagedCode, ControlEvidence"></PermissionSet>

Implements HttpWebAdapters.IHttpWebRequest.

bool HttpWebAdapters.Adapters.HttpWebRequestAdapter.KeepAlive [get, set]

summary> Gets or sets a value that indicates whether to pipeline the request to the Internet resource. /summary>

returns> true if the request should be pipelined; otherwise, false. The default is true. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

int HttpWebAdapters.Adapters.HttpWebRequestAdapter.MaximumAutomaticRedirections [get, set]

summary> Gets or sets authentication information for the request. /summary>

returns> An T:System.Net.ICredentials that contains the authentication credentials associated with the request. The default is null. /returns> PermissionSet><IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" flags="UnmanagedCode, ControlEvidence"></PermissionSet>

Implements HttpWebAdapters.IHttpWebRequest.

int HttpWebAdapters.Adapters.HttpWebRequestAdapter.MaximumResponseHeadersLength [get, set]

summary> Gets or sets the collection of security certificates that are associated with this request. /summary>

returns> The T:System.Security.Cryptography.X509Certificates.X509CertificateCollection that contains the security certificates associated with this request. /returns>

exception cref="T:System.ArgumentNullException">The value specified for a set operation is null.

Implements HttpWebAdapters.IHttpWebRequest.

string HttpWebAdapters.Adapters.HttpWebRequestAdapter.MediaType [get, set]

summary> Gets or sets the value of the Transfer-encoding HTTP header. /summary>

returns> The value of the Transfer-encoding HTTP header. The default value is null. /returns>

exception cref="T:System.InvalidOperationException">P:System.Net.HttpWebRequest.TransferEncoding is set when P:System.Net.HttpWebRequest.SendChunked is false.

exception cref="T:System.ArgumentException">P:System.Net.HttpWebRequest.TransferEncoding is set to the value "Chunked".

Implements HttpWebAdapters.IHttpWebRequest.

bool HttpWebAdapters.Adapters.HttpWebRequestAdapter.Pipelined [get, set]

summary> Gets or sets a value that indicates whether to send an authenticate header with the request. /summary>

returns> true to send a WWW-authenticate HTTP header with requests after authentication has taken place; otherwise, false. The default is false. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

bool HttpWebAdapters.Adapters.HttpWebRequestAdapter.PreAuthenticate [get, set]

summary> Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing. /summary>

returns> true to keep the authenticated connection open; otherwise, false. /returns> PermissionSet><IPermission class="System.Net.WebPermission, System, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" unrestricted="true"></PermissionSet>

Implements HttpWebAdapters.IHttpWebRequest.

Version HttpWebAdapters.Adapters.HttpWebRequestAdapter.ProtocolVersion [get, set]

summary> Gets or sets the value of the Content-type HTTP header. /summary>

returns> The value of the Content-type HTTP header. The default value is null. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

IWebProxy HttpWebAdapters.Adapters.HttpWebRequestAdapter.Proxy [get, set]

summary> Gets or sets the version of HTTP to use for the request. /summary>

returns> The HTTP version to use for the request. The default is F:System.Net.HttpVersion.Version11. /returns>

exception cref="T:System.ArgumentException">The HTTP version is set to a value other than 1.0 or 1.1.

Implements HttpWebAdapters.IHttpWebRequest.

int HttpWebAdapters.Adapters.HttpWebRequestAdapter.ReadWriteTimeout [get, set]

summary> Gets the Uniform Resource Identifier (URI) of the Internet resource that actually responds to the request. /summary>

returns> A T:System.Uri that identifies the Internet resource that actually responds to the request. The default is the URI used by the M:System.Net.WebRequest.Create(System.String) method to initialize the request. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

string HttpWebAdapters.Adapters.HttpWebRequestAdapter.Referer [get, set]

summary> Gets or sets the value of the User-agent HTTP header. /summary>

returns> The value of the User-agent HTTP header. The default value is null.The value for this property is stored in T:System.Net.WebHeaderCollection. If WebHeaderCollection is set, the property value is lost. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

Uri HttpWebAdapters.Adapters.HttpWebRequestAdapter.RequestUri [get]

summary> Gets or sets the Content-length HTTP header. /summary>

returns> The number of bytes of data to send to the Internet resource. The default is -1, which indicates the property has not been set and that there is no request data to send. /returns>

exception cref="T:System.ArgumentOutOfRangeException">The new P:System.Net.HttpWebRequest.ContentLength value is less than 0.

exception cref="T:System.InvalidOperationException">The request has been started by calling the M:System.Net.HttpWebRequest.GetRequestStream, M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object), M:System.Net.HttpWebRequest.GetResponse, or M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object) method.

Implements HttpWebAdapters.IHttpWebRequest.

bool HttpWebAdapters.Adapters.HttpWebRequestAdapter.SendChunked [get, set]

summary> Gets or sets the type of decompression that is used. /summary>

returns> A T:System.Net.DecompressionMethods object that indicates the type of decompression that is used. /returns>

exception cref="T:System.InvalidOperationException">The object's current state does not allow this property to be set.

Implements HttpWebAdapters.IHttpWebRequest.

ServicePoint HttpWebAdapters.Adapters.HttpWebRequestAdapter.ServicePoint [get]

summary> Gets or sets the maximum number of redirects that the request follows. /summary>

returns> The maximum number of redirection responses that the request follows. The default value is 50. /returns>

exception cref="T:System.ArgumentException">The value is set to 0 or less.

Implements HttpWebAdapters.IHttpWebRequest.

int HttpWebAdapters.Adapters.HttpWebRequestAdapter.Timeout [get, set]

summary> Gets or sets a time-out when writing to or reading from a stream. /summary>

returns> The number of milliseconds before the writing or reading times out. The default value is 300,000 milliseconds (5 minutes). /returns>

exception cref="T:System.ArgumentOutOfRangeException">The value specified for a set operation is less than or equal to zero and is not equal to F:System.Threading.Timeout.Infinite

exception cref="T:System.InvalidOperationException">The request has already been sent.

Implements HttpWebAdapters.IHttpWebRequest.

string HttpWebAdapters.Adapters.HttpWebRequestAdapter.TransferEncoding [get, set]

summary> Gets or sets the value of the Connection HTTP header. /summary>

returns> The value of the Connection HTTP header. The default value is null. /returns>

exception cref="T:System.ArgumentException">The value of P:System.Net.HttpWebRequest.Connection is set to Keep-alive or Close.

Implements HttpWebAdapters.IHttpWebRequest.

bool HttpWebAdapters.Adapters.HttpWebRequestAdapter.UnsafeAuthenticatedConnectionSharing [get, set]

summary> Gets or sets a value that indicates whether to send data in segments to the Internet resource. /summary>

returns> true to send data to the Internet resource in segments; otherwise, false. The default value is false. /returns>

exception cref="T:System.InvalidOperationException">The request has been started by calling the M:System.Net.HttpWebRequest.GetRequestStream, M:System.Net.HttpWebRequest.BeginGetRequestStream(System.AsyncCallback,System.Object), M:System.Net.HttpWebRequest.GetResponse, or M:System.Net.HttpWebRequest.BeginGetResponse(System.AsyncCallback,System.Object) method.

Implements HttpWebAdapters.IHttpWebRequest.

bool HttpWebAdapters.Adapters.HttpWebRequestAdapter.UseDefaultCredentials [get, set]

summary> Gets or sets the name of the connection group for the request. /summary>

returns> The name of the connection group for this request. The default value is null. /returns>

Implements HttpWebAdapters.IHttpWebRequest.

string HttpWebAdapters.Adapters.HttpWebRequestAdapter.UserAgent [get, set]

summary> Gets or sets the value of the Expect HTTP header. /summary>

returns> The contents of the Expect HTTP header. The default value is null.The value for this property is stored in T:System.Net.WebHeaderCollection. If WebHeaderCollection is set, the property value is lost. /returns>

exception cref="T:System.ArgumentException">Expect is set to a string that contains "100-continue" as a substring.

Implements HttpWebAdapters.IHttpWebRequest.


The documentation for this class was generated from the following file:
  • HttpWebAdapters/Impl/HttpWebRequestAdapter.cs
Generated on Sun May 3 2015 17:19:05 for SolrNet by  doxygen 1.7.2