C# Class System.Net.WebConnectionStream

Inheritance: System.IO.Stream
ファイルを表示 Open project: red-gate/mono Class Usage Examples

Private Properties

Property Type Description
CheckAuthHeader bool
CheckComplete void
CheckResponseInBuffer void
CheckWriteOverflow void
ForceCompletion void
InternalClose void
IsNtlmAuth bool
KillBuffer void
ReadAll void
ReadCallbackWrapper void
SetHeadersAsync bool
SetHeadersAsync void
WriteAsyncCB void
WriteCallbackWrapper void
WriteRequestAsync System.Net.SimpleAsyncResult
WriteRequestAsync bool

Public Methods

Method Description
BeginRead ( byte buffer, int offset, int size, AsyncCallback cb, object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int size, AsyncCallback cb, object state ) : IAsyncResult
Close ( ) : void
EndRead ( IAsyncResult r ) : int
EndWrite ( IAsyncResult r ) : void
Flush ( ) : void
Read ( byte buffer, int offset, int size ) : int
Seek ( long a, SeekOrigin b ) : long
SetLength ( long a ) : void
WebConnectionStream ( WebConnection cnc, HttpWebRequest request ) : System.IO
WebConnectionStream ( WebConnection cnc, System.Net.WebConnectionData data ) : System.IO
Write ( byte buffer, int offset, int size ) : void

Private Methods

Method Description
CheckAuthHeader ( string headerName ) : bool
CheckComplete ( ) : void
CheckResponseInBuffer ( ) : void
CheckWriteOverflow ( long contentLength, long totalWritten, long size ) : void
ForceCompletion ( ) : void
InternalClose ( ) : void
IsNtlmAuth ( ) : bool
KillBuffer ( ) : void
ReadAll ( ) : void
ReadCallbackWrapper ( IAsyncResult r ) : void
SetHeadersAsync ( System.Net.SimpleAsyncResult result, bool setInternalLength ) : bool
SetHeadersAsync ( bool setInternalLength, SimpleAsyncCallback callback ) : void
WriteAsyncCB ( IAsyncResult r ) : void
WriteCallbackWrapper ( IAsyncResult r ) : void
WriteRequestAsync ( SimpleAsyncCallback callback ) : System.Net.SimpleAsyncResult
WriteRequestAsync ( System.Net.SimpleAsyncResult result ) : bool

Method Details

BeginRead() public method

public BeginRead ( byte buffer, int offset, int size, AsyncCallback cb, object state ) : IAsyncResult
buffer byte
offset int
size int
cb AsyncCallback
state object
return IAsyncResult

BeginWrite() public method

public BeginWrite ( byte buffer, int offset, int size, AsyncCallback cb, object state ) : IAsyncResult
buffer byte
offset int
size int
cb AsyncCallback
state object
return IAsyncResult

Close() public method

public Close ( ) : void
return void

EndRead() public method

public EndRead ( IAsyncResult r ) : int
r IAsyncResult
return int

EndWrite() public method

public EndWrite ( IAsyncResult r ) : void
r IAsyncResult
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
return int

Seek() public method

public Seek ( long a, SeekOrigin b ) : long
a long
b SeekOrigin
return long

SetLength() public method

public SetLength ( long a ) : void
a long
return void

WebConnectionStream() public method

public WebConnectionStream ( WebConnection cnc, HttpWebRequest request ) : System.IO
cnc WebConnection
request HttpWebRequest
return System.IO

WebConnectionStream() public method

public WebConnectionStream ( WebConnection cnc, System.Net.WebConnectionData data ) : System.IO
cnc WebConnection
data System.Net.WebConnectionData
return System.IO

Write() public method

public Write ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
return void