프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Close | void | ||
On100Continue | void | ||
OnConnectionTimeout | void | ||
OnReceive | void | ||
OnRequest | void | ||
ParseBuffer | int | ||
Start | void |
메소드 | 설명 | |
---|---|---|
Disconnect ( ) : void |
Disconnect context.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
HttpContext ( Socket socket, HttpServer.Messages.MessageFactoryContext context ) : System |
Initializes a new instance of the HttpContext class.
|
메소드 | 설명 | |
---|---|---|
CreateStream ( Socket socket ) : Stream |
Create stream used to send and receive bytes from the socket.
|
메소드 | 설명 | |
---|---|---|
Close ( ) : void |
Close and release socket.
|
|
On100Continue ( object sender, HttpServer.Messages.ContinueEventArgs e ) : void | ||
OnConnectionTimeout ( object state ) : void | ||
OnReceive ( IAsyncResult ar ) : void |
Interpret incoming data.
|
|
OnRequest ( object sender, HttpServer.Messages.FactoryRequestEventArgs e ) : void |
A request was received from the parser.
|
|
ParseBuffer ( int bytesLeft ) : int |
Parse all complete requests in buffer.
|
|
Start ( ) : void |
Start content.
|
protected CreateStream ( Socket socket ) : Stream | ||
socket | Socket | Socket to wrap |
리턴 | Stream |
public HttpContext ( Socket socket, HttpServer.Messages.MessageFactoryContext context ) : System | ||
socket | Socket | Socket received from HTTP listener. |
context | HttpServer.Messages.MessageFactoryContext | Context used to parse incoming messages. |
리턴 | System |