HeveaServer Constructor (Int32, Int32, String, DocumentRegistrationCollection, Boolean)
Constructor.
Parameters
-
publicPort
- public TCP port
-
securedPort
- SSL secured TCP port
-
workingDirectory
- server working directory
-
documents
- list of dynamic documents that are must be accessible
-
mustAuthenticate
- set to true if the server should check the user credentials for each page (high level configuration)
Remarks
you may set the access autorization page per page in the document registration
Exceptions
Exception Type |
Condition |
HeveaException
|
the credentials section of the configuration file could not be processed or is missing |
ArgumentNullException
|
the working, the list of documents directory is missing |
See Also
HeveaServer Class | Hevea.Core.Http Namespace | HeveaServer Constructor Overload List