Beispiel #1
0
 public GTSServer(bool p_Start)
 {
     m_myIP = GetTopMostLocalIP();
     this.m_miniDNS = new MiniDNS(this,m_myIP);
     this.m_miniHTTP = new MiniHTTP(this, m_myIP);
     if (p_Start) Start();
 }
Beispiel #2
0
 public GTSHTTPRequestRouter(MiniHTTP p_MiniHTTP)
 {
     this.RequestHandlers = new Dictionary<string, GTSHTTPRequestHandler>();
     this.m_MiniHTTP = p_MiniHTTP;
 }
Beispiel #3
0
 public MiniHTTPServer(IPAddress IPaddress, int Port, MiniHTTP p_MiniHTTP)
     : base(IPaddress, Port)
 {
     // Empty... For Now
     this.m_GTSHTTPRequestRouter = new GTSHTTPRequestRouter(p_MiniHTTP);
 }