Jump to content

Hello world/Web server: Difference between revisions

Line 804:
myServer := HTTPServer startServerOnPort:8082.
service := HTTPPluggableActionService new.
service register:[:request | self halt: 'debugging'. request reply:'<HTML><BODY><H1>Hello World</H1></BODY></HTML>'] as:'hello'.
service linkNames:#('/' ).
service registerServiceOn: myServer.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.