Method | Description | |
---|---|---|
RegisterEventStreamHandler ( this HTTPServer, HTTPHostname Hostname, String URITemplate, String EventSource ) : void |
Register a EventStream handler.
|
|
RegisterFilesystemFile ( this HTTPServer, HTTPHostname Hostname, String URITemplate, String>.Func |
Returns a resource from the given file system location.
|
|
RegisterFilesystemFolder ( this HTTPServer, HTTPHostname Hostname, String URITemplate, String>.Func |
Returns resources from the given file system location.
|
|
RegisterMovedTemporarilyHandler ( this HTTPServer, HTTPHostname Hostname, String URITemplate, String URITarget ) : void |
Register a MovedTemporarily handler.
|
|
RegisterRAWRequestHandler ( this HTTPServer, HTTPHostname Hostname, String URITemplate, HTTPMethod HTTPMethod = null ) : void |
Return the RAW request header.
|
|
RegisterResourcesFile ( this HTTPServer, HTTPHostname Hostname, String URITemplate, |
Returns internal resources embedded within the given assembly.
|
|
RegisterResourcesFolder ( this HTTPServer, HTTPHostname Hostname, String URITemplate, String ResourcePath, |
Returns internal resources embedded within the given assembly.
|
|
RegisterWatchedFileSystemFolder ( this HTTPServer, HTTPHostname Hostname, String URITemplate, String FileSystemLocation, String HTTPSSE_EventIdentification, String HTTPSSE_URITemplate, String DefaultFilename = "index.html" ) : void |
Returns resources from the given file system location.
|
|
RegisterWatchedFileSystemFolder ( this HTTPServer, String URITemplate, String FileSystemLocation, String HTTPSSE_EventIdentification, String HTTPSSE_URITemplate, String DefaultFilename = "index.html" ) : void |
Returns resources from the given file system location.
|
Method | Description | |
---|---|---|
FileWasChanged ( HTTPServer source, String HTTPSSE_EventIdentification, String ChangeType, String FileName ) : void | ||
FileWasRenamed ( object source, |
||
FileWatcherError ( object sender, |
public static RegisterEventStreamHandler ( this HTTPServer, HTTPHostname Hostname, String URITemplate, String EventSource ) : void | ||
HTTPServer | this | |
Hostname | HTTPHostname | |
URITemplate | String | |
EventSource | String | |
return | void |
public static RegisterFilesystemFile ( this HTTPServer, HTTPHostname Hostname, String URITemplate, String>.Func |
||
HTTPServer | this | A HTTP server. |
Hostname | HTTPHostname | The HTTP hostname. |
URITemplate | String | An URI template. |
ResourceFilenameBuilder | String>.Func | The path to the file within the assembly. |
DefaultFile | String | If an error occures, return this file. |
ResponseContentType | HTTPContentType | Set the HTTP MIME content-type of the file. If null try to autodetect the content type based on the filename extention. |
CacheControl | String | Set the HTTP cache control response header. |
return | void |
public static RegisterFilesystemFolder ( this HTTPServer, HTTPHostname Hostname, String URITemplate, String>.Func |
||
HTTPServer | this | A HTTP server. |
Hostname | HTTPHostname | The HTTP hostname. |
URITemplate | String | An URI template. |
ResourcePath | String>.Func | The path to the file within the assembly. |
DefaultFilename | String | The default file to load. |
return | void |
public static RegisterMovedTemporarilyHandler ( this HTTPServer, HTTPHostname Hostname, String URITemplate, String URITarget ) : void | ||
HTTPServer | this | |
Hostname | HTTPHostname | |
URITemplate | String | |
URITarget | String | |
return | void |
public static RegisterRAWRequestHandler ( this HTTPServer, HTTPHostname Hostname, String URITemplate, HTTPMethod HTTPMethod = null ) : void | ||
HTTPServer | this | |
Hostname | HTTPHostname | |
URITemplate | String | |
HTTPMethod | HTTPMethod | |
return | void |
public static RegisterResourcesFile ( this HTTPServer, HTTPHostname Hostname, String URITemplate, |
||
HTTPServer | this | A HTTP server. |
Hostname | HTTPHostname | The HTTP hostname. |
URITemplate | String | An URI template. |
ResourceAssembly | The assembly where the resources are located. | |
ResourceFilename | String | The path to the file within the assembly. |
ResponseContentType | HTTPContentType | Set the HTTP MIME content-type of the file. If null try to autodetect the content type based on the filename extention. |
CacheControl | String | Set the HTTP cache control response header. |
return | void |
public static RegisterResourcesFolder ( this HTTPServer, HTTPHostname Hostname, String URITemplate, String ResourcePath, |
||
HTTPServer | this | A HTTP server. |
Hostname | HTTPHostname | The HTTP hostname. |
URITemplate | String | An URI template. |
ResourcePath | String | The path to the file within the assembly. |
ResourceAssembly | Optionally the assembly where the resources are located (default: the calling assembly). | |
DefaultFilename | String | The default file to load. |
HTTPRealm | String | An optional realm for HTTP basic authentication. |
HTTPLogin | String | An optional login for HTTP basic authentication. |
HTTPPassword | String | An optional password for HTTP basic authentication. |
return | void |
public static RegisterWatchedFileSystemFolder ( this HTTPServer, HTTPHostname Hostname, String URITemplate, String FileSystemLocation, String HTTPSSE_EventIdentification, String HTTPSSE_URITemplate, String DefaultFilename = "index.html" ) : void | ||
HTTPServer | this | A HTTP server. |
Hostname | HTTPHostname | |
URITemplate | String | An URI template. |
FileSystemLocation | String | |
HTTPSSE_EventIdentification | String | |
HTTPSSE_URITemplate | String | |
DefaultFilename | String | The default file to load. |
return | void |
public static RegisterWatchedFileSystemFolder ( this HTTPServer, String URITemplate, String FileSystemLocation, String HTTPSSE_EventIdentification, String HTTPSSE_URITemplate, String DefaultFilename = "index.html" ) : void | ||
HTTPServer | this | A HTTP server. |
URITemplate | String | An URI template. |
FileSystemLocation | String | |
HTTPSSE_EventIdentification | String | |
HTTPSSE_URITemplate | String | |
DefaultFilename | String | The default file to load. |
return | void |