C# Class Continuous.Server.HttpServer

显示文件 Open project: praeclarum/Continuous

Public Methods

Method Description
HttpServer ( object context = null, int port = Http.DefaultPort, IVM vm = null, Visualizer visualizer = null, bool discoverable = true ) : System
Run ( ) : void

Private Methods

Method Description
GetWatchChangesAsync ( WatchChangesRequest req ) : Task
GrantServerPermission ( string url ) : void
HandleRequest ( HttpListenerContext c ) : void
Log ( Exception ex, string env ) : void
Log ( string format ) : void
Loop ( ) : void
Visualize ( EvalResult res ) : void

Method Details

HttpServer() public method

public HttpServer ( object context = null, int port = Http.DefaultPort, IVM vm = null, Visualizer visualizer = null, bool discoverable = true ) : System
context object
port int
vm IVM
visualizer Visualizer
discoverable bool
return System

Run() public method

public Run ( ) : void
return void