Method | Description | |
---|---|---|
GetWebRoot ( ) : String |
Gets the full path to the directory where static pages are served from.
|
|
IntegratedWebServer ( ) : System |
Initializes a new instance of the IntegratedWebServer class.
|
|
LogMessage ( String message, String label = null ) : void |
Adds a timestamp to the specified message, and appends it to the internal log.
|
|
Start ( ) : void | ||
Stop ( ) : void |
Method | Description | |
---|---|---|
FetchHandlers ( |
||
FindHandlersInLoadedAssemblies ( ) : IEnumerable |
Searches all the assemblies in the current AppDomain, and returns a collection of those that implement the IRequestHandler interface.
|
|
HandleRequest ( |
; Handles the specified request. Defers execution to an appropriate request handler, except for requests to the reserved endpoints: |
|
RegisterHandlers ( ) : void |
Searches all the assemblies in the current AppDomain for class definitions that implement the IRequestHandler interface. Those classes are instantiated and registered as request handlers.
|
|
RegisterHandlers ( IEnumerable |
||
ReleaseServer ( ) : void | ||
RequestHandlerLogAppender_OnLogMessage ( Object sender, |
||
ServerOnLogMessage ( Object sender, |
Writes the value of args.LogAppenderEventArgs.LogLine to the internal log.
|
|
ServiceFileRequest ( String wwwroot, |
||
ServiceLog ( |
Services requests to
|
|
ServiceRoot ( |
Services requests to
|
public static LogMessage ( String message, String label = null ) : void | ||
message | String | |
label | String | |
return | void |