C# Class System.Net.WebConnectionStream

Inheritance: System.IO.Stream
Afficher le fichier Open project: red-gate/mono Class Usage Examples

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

BeginWrite() public méthode

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

Close() public méthode

public Close ( ) : void
Résultat void

EndRead() public méthode

public EndRead ( IAsyncResult r ) : int
r IAsyncResult
Résultat int

EndWrite() public méthode

public EndWrite ( IAsyncResult r ) : void
r IAsyncResult
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
Résultat int

Seek() public méthode

public Seek ( long a, SeekOrigin b ) : long
a long
b SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long a ) : void
a long
Résultat void

WebConnectionStream() public méthode

public WebConnectionStream ( WebConnection cnc, HttpWebRequest request ) : System.IO
cnc WebConnection
request HttpWebRequest
Résultat System.IO

WebConnectionStream() public méthode

public WebConnectionStream ( WebConnection cnc, System.Net.WebConnectionData data ) : System.IO
cnc WebConnection
data System.Net.WebConnectionData
Résultat System.IO

Write() public méthode

public Write ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
Résultat void