Server Class
An HTTP server that can serve static files from a specified directory on disk.
Namespace
Statiq.Web.Hosting
Base Types
  • IWebHost
graph BT Type-->Base0["IWebHost"] Type["Server"] class Type type-node

Syntax

public class Server : IWebHost

Constructors

Properties

Name Property Type Summary
Extensionless bool
LocalPath string
Port int
ServerFeatures IFeatureCollection
Services IServiceProvider
VirtualDirectory string
The virtual directory at which files are served (or null). This will always begin with a backslash and end without one.

Methods

Extension Methods