C# 클래스 System.Net.WebConnectionStream

상속: System.IO.Stream
파일 보기 프로젝트 열기: red-gate/mono 1 사용 예제들

Private Properties

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

BeginRead() 공개 메소드

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

BeginWrite() 공개 메소드

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

Close() 공개 메소드

public Close ( ) : void
리턴 void

EndRead() 공개 메소드

public EndRead ( IAsyncResult r ) : int
r IAsyncResult
리턴 int

EndWrite() 공개 메소드

public EndWrite ( IAsyncResult r ) : void
r IAsyncResult
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Read() 공개 메소드

public Read ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
리턴 int

Seek() 공개 메소드

public Seek ( long a, SeekOrigin b ) : long
a long
b SeekOrigin
리턴 long

SetLength() 공개 메소드

public SetLength ( long a ) : void
a long
리턴 void

WebConnectionStream() 공개 메소드

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

WebConnectionStream() 공개 메소드

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

Write() 공개 메소드

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