C# Class System.Net.HttpWebRequest

Inheritance: WebRequest, ISerializable
显示文件 Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description
AddRange bool
CheckAbort void
DateToString string
GetDateHeaderHelper DateTime
GetRequestStreamTask Task
HttpWebRequest
HttpWebRequest System.Diagnostics
HttpWebRequest System.Diagnostics
ISerializable void
InternalGetRequestStream Task
IsWellKnownContentHeader bool
SendRequest Task
SetDateHeaderHelper void
SetSpecialHeaders void
StringToDate DateTime

Public Methods

Method Description
Abort ( ) : void
AddRange ( int range ) : void
AddRange ( int from, int to ) : void
AddRange ( long range ) : void
AddRange ( long from, long to ) : void
AddRange ( string rangeSpecifier, int range ) : void
AddRange ( string rangeSpecifier, int from, int to ) : void
AddRange ( string rangeSpecifier, long range ) : void
AddRange ( string rangeSpecifier, long from, long to ) : void
BeginGetRequestStream ( AsyncCallback callback, Object state ) : IAsyncResult
BeginGetRequestStream ( System callback, object state ) : System.IAsyncResult
BeginGetResponse ( AsyncCallback callback, object state ) : IAsyncResult
BeginGetResponse ( System callback, object state ) : System.IAsyncResult
EndGetRequestStream ( IAsyncResult asyncResult ) : Stream
EndGetRequestStream ( IAsyncResult asyncResult, TransportContext &context ) : Stream
EndGetRequestStream ( System asyncResult ) : System.IO.Stream
EndGetRequestStream ( System asyncResult, System &context ) : System.IO.Stream
EndGetResponse ( System asyncResult ) : System.Net.WebResponse
EndGetResponse ( IAsyncResult asyncResult ) : WebResponse
GetRequestStream ( ) : Stream
GetRequestStream ( TransportContext &context ) : Stream
GetRequestStream ( ) : System.IO.Stream
GetRequestStream ( TransportContext &context ) : System.IO.Stream
GetResponse ( ) : System.Net.WebResponse
GetResponse ( ) : WebResponse
HttpWebRequest ( ) : System.Diagnostics

Protected Methods

Method Description
GetObjectData ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void

Private Methods

Method Description
AddRange ( string rangeSpecifier, string from, string to ) : bool
CheckAbort ( ) : void
DateToString ( DateTime D ) : string
GetDateHeaderHelper ( string headerName ) : DateTime
GetRequestStreamTask ( ) : Task
HttpWebRequest ( )
HttpWebRequest ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : System.Diagnostics
HttpWebRequest ( Uri uri ) : System.Diagnostics
ISerializable ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
InternalGetRequestStream ( ) : Task
IsWellKnownContentHeader ( string header ) : bool
SendRequest ( ) : Task
SetDateHeaderHelper ( string headerName, DateTime dateTime ) : void
SetSpecialHeaders ( string HeaderName, string value ) : void
StringToDate ( String S ) : DateTime

Method Details

Abort() public method

public Abort ( ) : void
return void

AddRange() public method

public AddRange ( int range ) : void
range int
return void

AddRange() public method

public AddRange ( int from, int to ) : void
from int
to int
return void

AddRange() public method

public AddRange ( long range ) : void
range long
return void

AddRange() public method

public AddRange ( long from, long to ) : void
from long
to long
return void

AddRange() public method

public AddRange ( string rangeSpecifier, int range ) : void
rangeSpecifier string
range int
return void

AddRange() public method

public AddRange ( string rangeSpecifier, int from, int to ) : void
rangeSpecifier string
from int
to int
return void

AddRange() public method

public AddRange ( string rangeSpecifier, long range ) : void
rangeSpecifier string
range long
return void

AddRange() public method

public AddRange ( string rangeSpecifier, long from, long to ) : void
rangeSpecifier string
from long
to long
return void

BeginGetRequestStream() public method

public BeginGetRequestStream ( AsyncCallback callback, Object state ) : IAsyncResult
callback AsyncCallback
state Object
return IAsyncResult

BeginGetRequestStream() public method

public BeginGetRequestStream ( System callback, object state ) : System.IAsyncResult
callback System
state object
return System.IAsyncResult

BeginGetResponse() public method

public BeginGetResponse ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
return IAsyncResult

BeginGetResponse() public method

public BeginGetResponse ( System callback, object state ) : System.IAsyncResult
callback System
state object
return System.IAsyncResult

EndGetRequestStream() public method

public EndGetRequestStream ( IAsyncResult asyncResult ) : Stream
asyncResult IAsyncResult
return Stream

EndGetRequestStream() public method

public EndGetRequestStream ( IAsyncResult asyncResult, TransportContext &context ) : Stream
asyncResult IAsyncResult
context TransportContext
return Stream

EndGetRequestStream() public method

public EndGetRequestStream ( System asyncResult ) : System.IO.Stream
asyncResult System
return System.IO.Stream

EndGetRequestStream() public method

public EndGetRequestStream ( System asyncResult, System &context ) : System.IO.Stream
asyncResult System
context System
return System.IO.Stream

EndGetResponse() public method

public EndGetResponse ( System asyncResult ) : System.Net.WebResponse
asyncResult System
return System.Net.WebResponse

EndGetResponse() public method

public EndGetResponse ( IAsyncResult asyncResult ) : WebResponse
asyncResult IAsyncResult
return WebResponse

GetObjectData() protected method

protected GetObjectData ( SerializationInfo serializationInfo, StreamingContext streamingContext ) : void
serializationInfo SerializationInfo
streamingContext StreamingContext
return void

GetRequestStream() public method

public GetRequestStream ( ) : Stream
return Stream

GetRequestStream() public method

public GetRequestStream ( TransportContext &context ) : Stream
context TransportContext
return Stream

GetRequestStream() public method

public GetRequestStream ( ) : System.IO.Stream
return System.IO.Stream

GetRequestStream() public method

public GetRequestStream ( TransportContext &context ) : System.IO.Stream
context TransportContext
return System.IO.Stream

GetResponse() public method

public GetResponse ( ) : System.Net.WebResponse
return System.Net.WebResponse

GetResponse() public method

public GetResponse ( ) : WebResponse
return WebResponse

HttpWebRequest() public method

public HttpWebRequest ( ) : System.Diagnostics
return System.Diagnostics