Example #1
0
        private void StartServer()
        {
            webConf = new WebServerConfiguration();
            webConf.IPAddress = IPAddress.Any;
            webConf.Port = DefaultSettings.BrokerPort;

            webServer = new WebServer(webConf);
            webServer.OnLogEvent += Log;
            webServer.Start();
        }
Example #2
0
 public HttpResponse(WebServer app, TcpClient tcpClient)
 {
     this._app = app;
     this._tcpClient = tcpClient;
     this.Header = new Dictionary<string, string>();
 }