Server(string, int) Constructor
Creates the HTTP server.
Namespace
Statiq.Web.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.