Method | Description | |
---|---|---|
HttpListener ( ) : System |
Initializes a new instance of the HttpListener class.
|
|
HttpListener ( ChannelTcpListenerConfiguration configuration ) : System |
Initializes a new instance of the HttpListener class.
|
|
Start ( |
Start this listener
|
Method | Description | |
---|---|---|
OnClientConnected ( ITcpChannel channel ) : ClientConnectedEventArgs |
A client has connected (nothing has been sent or received yet)
|
|
OnMessage ( ITcpChannel source, object msg ) : void |
Receive a new message from the specified client
|
Method | Description | |
---|---|---|
OnDecoderFailure ( ITcpChannel channel, |
public HttpListener ( ChannelTcpListenerConfiguration configuration ) : System | ||
configuration | ChannelTcpListenerConfiguration | |
return | System |
protected OnClientConnected ( ITcpChannel channel ) : ClientConnectedEventArgs | ||
channel | ITcpChannel | Channel which we created for the remote socket. |
return | ClientConnectedEventArgs |
protected OnMessage ( ITcpChannel source, object msg ) : void | ||
source | ITcpChannel | Channel for the client |
msg | object | Message (as decoded by the specified |
return | void |
public Start ( |
||
address | Address to accept connections on | |
port | int | Port to use. Set to |
return | void |