Summary
Creates the HTTP server.
- Assembly
- Wyam
.Hosting .dll - Namespace
- Wyam
.Hosting - Containing Type
- Server
Syntax
public Server(string localPath, int port = 5080)
Parameters
Name | Type | Description |
---|---|---|
localPath | string | The local path to serve files from. |
port | int | The port the server will serve HTTP requests on. |
Return Value
Type | Description |
---|---|
void |