C# Class System.Net.ConnectStream

Inheritance: System.IO.Stream, ICloseEx, IRequestLifetimeTracker
Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Свойство Type Description
BeginRead IAsyncResult
BeginReadWithoutValidation IAsyncResult
BeginWrite IAsyncResult
CallDone void
CallDone void
CloseInternal void
CloseInternal void
DrainSocket bool
EnableWriteBuffering void
EndReadWithoutValidation int
ErrorResponseNotify void
ExchangeCallNesting int
FatalResponseNotify void
FillFromBufferedData int
GetChunkHeader byte[]
ICloseEx void
IOError void
IOError void
InternalRead int
InternalWrite IAsyncResult
PollAndRead void
ProcessReadChunkedSize int
ProcessWriteCallDone void
ProcessWriteCallback void
ReadCRLF int
ReadCallback void
ReadChunkedCallback void
ReadChunkedSync int
ReadSingleByte int
ReadWithoutValidation int
ReadWithoutValidation int
RemoveTrailers void
ResubmitWrite void
ResumeClose_Part2 void
ResumeClose_Part2_Wrapper void
ResumeInternalClose void
SafeSetSocketTimeout void
SwitchToContentLength void
WriteCallback void
WriteHeaders void
WriteHeadersCallback void

Méthodes publiques

Méthode Description
ConnectStream ( Connection connection, HttpWebRequest request ) : System.Diagnostics
ConnectStream ( Connection connection, byte buffer, int offset, int bufferCount, long readCount, bool chunked, HttpWebRequest request ) : System.Diagnostics
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
Read ( [ buffer, int offset, int size ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int size ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
BeginRead ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
BeginReadWithoutValidation ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
CallDone ( ) : void
CallDone ( ConnectionReturnResult returnResult ) : void
CloseInternal ( bool internalCall ) : void
CloseInternal ( bool internalCall, bool aborting ) : void
DrainSocket ( ) : bool
EnableWriteBuffering ( ) : void
EndReadWithoutValidation ( int bytesTransferred, bool zeroLengthRead ) : int
ErrorResponseNotify ( bool isKeepAlive ) : void
ExchangeCallNesting ( int value, int comparand ) : int
FatalResponseNotify ( ) : void
FillFromBufferedData ( byte buffer, int &offset, int &size ) : int
GetChunkHeader ( int size, int &offset ) : byte[]
ICloseEx ( CloseExState closeState ) : void
IOError ( Exception exception ) : void
IOError ( Exception exception, bool willThrow ) : void
InternalRead ( byte buffer, int offset, int size ) : int
InternalWrite ( bool async, byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
PollAndRead ( bool userRetrievedStream ) : void
ProcessReadChunkedSize ( StreamChunkBytes ReadByteBuffer ) : int
ProcessWriteCallDone ( ConnectionReturnResult returnResult ) : void
ProcessWriteCallback ( IAsyncResult asyncResult, LazyAsyncResult userResult ) : void
ReadCRLF ( byte buffer ) : int
ReadCallback ( IAsyncResult asyncResult ) : void
ReadChunkedCallback ( object state ) : void
ReadChunkedSync ( byte buffer, int offset, int size ) : int
ReadSingleByte ( ) : int
ReadWithoutValidation ( [ buffer, int offset, int size, bool abortOnError ) : int
ReadWithoutValidation ( byte buffer, int offset, int size ) : int
RemoveTrailers ( StreamChunkBytes ReadByteBuffer ) : void
ResubmitWrite ( ConnectStream oldStream, bool suppressWrite ) : void
ResumeClose_Part2 ( LazyAsyncResult userResult ) : void
ResumeClose_Part2_Wrapper ( IAsyncResult ar ) : void
ResumeInternalClose ( LazyAsyncResult userResult ) : void
SafeSetSocketTimeout ( SocketShutdown mode ) : void
SwitchToContentLength ( ) : void
WriteCallback ( IAsyncResult asyncResult ) : void
WriteHeaders ( bool async ) : void
WriteHeadersCallback ( IAsyncResult ar ) : void

Method Details

ConnectStream() public méthode

public ConnectStream ( Connection connection, HttpWebRequest request ) : System.Diagnostics
connection Connection
request HttpWebRequest
Résultat System.Diagnostics

ConnectStream() public méthode

public ConnectStream ( Connection connection, byte buffer, int offset, int bufferCount, long readCount, bool chunked, HttpWebRequest request ) : System.Diagnostics
connection Connection
buffer byte
offset int
bufferCount int
readCount long
chunked bool
request HttpWebRequest
Résultat System.Diagnostics

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

EndRead() public méthode

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

EndWrite() public méthode

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

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

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

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

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

Write() public méthode

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