xotcl/apps/comm/webserver.xotcl
Package/File Information
No package provided/requiredDefined Objects/Classes:
Filename: xotcl/apps/comm/webserver.xotcl
Description: | This small demo program starts two different
webservers:
|
Class: SpecializedWorker
Class: ClassProcs/Instprocs: respond.
Description: | Specialized worker that can be passed to any webserver |
Instprocs
- respond
Description: This method handles all responses from the webserver to the client. We implent here "exit", and we return the information about the actual request and user in HTML format for all other requests. This method is an example, how to access on the server side request specific infomation.
Object: h1
Class: HttpdDescription: | unprotected web server |
Object: h2
Class: HttpdDescription: | Web server with basic authentication using the specialied worker |
Back to index page.