Skip to content

About

Provides a simple way to server http requests

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

nac.WebServer

  • Code moved from WebPad project to here so it can be used in other projects

Example

var webMan = new nac.WebServer.WebServerManager();

webMan.OnNewRequest += (_s, _e) =>
{
    if(_e.Request.Url.LocalPath == "/"){
        nac.WebServer.lib.HttpHelper.WriteTextResponse(_e.Response, "text/html", @"
            <div style='color:green;'>Hello World!</div>
        ");
    }
};
webMan.Start();

About

Provides a simple way to server http requests

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages