C# 클래스 System.Net.HttpConnection

파일 보기 프로젝트 열기: runefs/Marvin 1 사용 예제들

공개 메소드들

메소드 설명
BeginReadRequest ( ) : void
Close ( ) : void
GetRequestStream ( bool chunked, long contentlength ) : System.Net.RequestStream
GetResponseStream ( ) : System.Net.ResponseStream
HttpConnection ( Socket sock, EndPointListener epl, bool secure, X509Certificate2 cert, AsymmetricAlgorithm key ) : System.IO
SendError ( ) : void
SendError ( string msg, int status ) : void

비공개 메소드들

메소드 설명
Close ( bool force_close ) : void
CloseSocket ( ) : void
Init ( ) : void
OnPVKSelection ( X509Certificate certificate, string targetHost ) : AsymmetricAlgorithm
OnRead ( IAsyncResult ares ) : void
ProcessInput ( MemoryStream ms ) : bool
ReadLine ( byte buffer, int offset, int len, int &used ) : string
Unbind ( ) : void

메소드 상세

BeginReadRequest() 공개 메소드

public BeginReadRequest ( ) : void
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

GetRequestStream() 공개 메소드

public GetRequestStream ( bool chunked, long contentlength ) : System.Net.RequestStream
chunked bool
contentlength long
리턴 System.Net.RequestStream

GetResponseStream() 공개 메소드

public GetResponseStream ( ) : System.Net.ResponseStream
리턴 System.Net.ResponseStream

HttpConnection() 공개 메소드

public HttpConnection ( Socket sock, EndPointListener epl, bool secure, X509Certificate2 cert, AsymmetricAlgorithm key ) : System.IO
sock Socket
epl EndPointListener
secure bool
cert System.Security.Cryptography.X509Certificates.X509Certificate2
key System.Security.Cryptography.AsymmetricAlgorithm
리턴 System.IO

SendError() 공개 메소드

public SendError ( ) : void
리턴 void

SendError() 공개 메소드

public SendError ( string msg, int status ) : void
msg string
status int
리턴 void