Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: HttpServer(int, HttpServerOptions)

Declaration

public HttpServer(
    int port,
    HttpServerOptions options = null
)

Summary

Constructs an HTTP server with the specified configuration settings and using the specified port number for unsecured HTTP traffic.

Parameters

intport The port number to use.
HttpServerOptionsoptions Specifies the configuration settings to use for this HttpServer, or null to set all configuration values to default values.