HeveaServer Constructor (Int32, Int32, IPAddress, IPAddress, String, DocumentRegistrationCollection, Boolean)
Constructor.
Parameters
-
publicPort
- public TCP port
-
securedPort
- SSL secured TCP port
-
localIP
- local IP address
-
publicIP
- public IP address
-
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 IP adresses, working directory or the list of documents is missing |
See Also
HeveaServer Class | Hevea.Core.Http Namespace | HeveaServer Constructor Overload List