private void StartServer() { webConf = new WebServerConfiguration(); webConf.IPAddress = IPAddress.Any; webConf.Port = DefaultSettings.BrokerPort; webServer = new WebServer(webConf); webServer.OnLogEvent += Log; webServer.Start(); }
public HttpResponse(WebServer app, TcpClient tcpClient) { this._app = app; this._tcpClient = tcpClient; this.Header = new Dictionary<string, string>(); }