London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class HttpWebRequestAdapter

Inheritance
System.Object
HttpWebRequestAdapter
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: HttpWebAdapters.Adapters
Assembly: Solrnet.dll
Version: 13.30.0
Syntax
public class HttpWebRequestAdapter : IHttpWebRequest

Constructors

HttpWebRequestAdapter(HttpWebRequest)

Declaration
public HttpWebRequestAdapter(HttpWebRequest request)
Parameters
Type Name Description
System.Net.HttpWebRequest request

Properties

Accept

Declaration
public string Accept { get; set; }
Property Value
Type Description
System.String

Address

Declaration
public Uri Address { get; }
Property Value
Type Description
System.Uri

AllowAutoRedirect

Declaration
public bool AllowAutoRedirect { get; set; }
Property Value
Type Description
System.Boolean

AllowWriteStreamBuffering

Declaration
public bool AllowWriteStreamBuffering { get; set; }
Property Value
Type Description
System.Boolean

AutomaticDecompression

Declaration
public DecompressionMethods AutomaticDecompression { get; set; }
Property Value
Type Description
System.Net.DecompressionMethods

ClientCertificates

Declaration
public X509CertificateCollection ClientCertificates { get; set; }
Property Value
Type Description
System.Security.Cryptography.X509Certificates.X509CertificateCollection

Connection

Declaration
public string Connection { get; set; }
Property Value
Type Description
System.String

ConnectionGroupName

Declaration
public string ConnectionGroupName { get; set; }
Property Value
Type Description
System.String

ContentLength

Declaration
public long ContentLength { get; set; }
Property Value
Type Description
System.Int64

ContentType

Declaration
public string ContentType { get; set; }
Property Value
Type Description
System.String

CookieContainer

Declaration
public CookieContainer CookieContainer { get; set; }
Property Value
Type Description
System.Net.CookieContainer

Credentials

Declaration
public ICredentials Credentials { get; set; }
Property Value
Type Description
System.Net.ICredentials

Expect

Declaration
public string Expect { get; set; }
Property Value
Type Description
System.String

HaveResponse

Declaration
public bool HaveResponse { get; }
Property Value
Type Description
System.Boolean

Headers

Declaration
public WebHeaderCollection Headers { get; set; }
Property Value
Type Description
System.Net.WebHeaderCollection

IfModifiedSince

Declaration
public DateTime IfModifiedSince { get; set; }
Property Value
Type Description
System.DateTime

KeepAlive

Declaration
public bool KeepAlive { get; set; }
Property Value
Type Description
System.Boolean

MaximumAutomaticRedirections

Declaration
public int MaximumAutomaticRedirections { get; set; }
Property Value
Type Description
System.Int32

MaximumResponseHeadersLength

Declaration
public int MaximumResponseHeadersLength { get; set; }
Property Value
Type Description
System.Int32

MediaType

Declaration
public string MediaType { get; set; }
Property Value
Type Description
System.String

Method

Declaration
public HttpWebRequestMethod Method { get; set; }
Property Value
Type Description
HttpWebRequestMethod

Pipelined

Declaration
public bool Pipelined { get; set; }
Property Value
Type Description
System.Boolean

PreAuthenticate

Declaration
public bool PreAuthenticate { get; set; }
Property Value
Type Description
System.Boolean

ProtocolVersion

Declaration
public Version ProtocolVersion { get; set; }
Property Value
Type Description
System.Version

Proxy

Declaration
public IWebProxy Proxy { get; set; }
Property Value
Type Description
System.Net.IWebProxy

ReadWriteTimeout

Declaration
public int ReadWriteTimeout { get; set; }
Property Value
Type Description
System.Int32

Referer

Declaration
public string Referer { get; set; }
Property Value
Type Description
System.String

RequestUri

Declaration
public Uri RequestUri { get; }
Property Value
Type Description
System.Uri

SendChunked

Declaration
public bool SendChunked { get; set; }
Property Value
Type Description
System.Boolean

ServicePoint

Declaration
public ServicePoint ServicePoint { get; }
Property Value
Type Description
System.Net.ServicePoint

Timeout

Declaration
public int Timeout { get; set; }
Property Value
Type Description
System.Int32

TransferEncoding

Declaration
public string TransferEncoding { get; set; }
Property Value
Type Description
System.String

UnsafeAuthenticatedConnectionSharing

Declaration
public bool UnsafeAuthenticatedConnectionSharing { get; set; }
Property Value
Type Description
System.Boolean

UseDefaultCredentials

Declaration
public bool UseDefaultCredentials { get; set; }
Property Value
Type Description
System.Boolean

UserAgent

Declaration
public string UserAgent { get; set; }
Property Value
Type Description
System.String

Methods

Abort()

Declaration
public void Abort()

AddRange(Int32)

Declaration
public void AddRange(int range)
Parameters
Type Name Description
System.Int32 range

AddRange(Int32, Int32)

Declaration
public void AddRange(int from, int to)
Parameters
Type Name Description
System.Int32 from
System.Int32 to

AddRange(String, Int32)

Declaration
public void AddRange(string rangeSpecifier, int range)
Parameters
Type Name Description
System.String rangeSpecifier
System.Int32 range

AddRange(String, Int32, Int32)

Declaration
public void AddRange(string rangeSpecifier, int from, int to)
Parameters
Type Name Description
System.String rangeSpecifier
System.Int32 from
System.Int32 to

GetRequestStream()

Declaration
public Stream GetRequestStream()
Returns
Type Description
System.IO.Stream

GetResponse()

Declaration
public IHttpWebResponse GetResponse()
Returns
Type Description
IHttpWebResponse

Implements