/// <summary> /// Configures the specified server. /// </summary> /// <param name="server">The server.</param> /// <param name="port">The port.</param> /// <param name="virtualPath">The virtual path.</param> /// <param name="physicalPath">The physical path.</param> /// <param name="requireAuthentication">true if require authentication; otherwise, false.</param> public void Configure(WebServer server, int port, string virtualPath, string physicalPath, bool requireAuthentication) { this.Configure(server, port, virtualPath, physicalPath, requireAuthentication, false); }
/// <summary> /// Initializes a new instance of the <see cref="Connection"/> class. /// </summary> /// <param name="server">The server.</param> /// <param name="socket">The socket.</param> internal Connection(WebServer server, Socket socket) { this._server = server; this._socket = socket; }