Hello world/Web server: Difference between revisions
Content added Content deleted
(→{{header|Smalltalk}}: reformattedfor readability) |
|||
Line 804: | Line 804: | ||
myServer := HTTPServer startServerOnPort:8082. |
myServer := HTTPServer startServerOnPort:8082. |
||
service := HTTPPluggableActionService new. |
service := HTTPPluggableActionService new. |
||
service |
|||
⚫ | |||
register:[:request | |
|||
self halt: 'debugging'. |
|||
⚫ | |||
] |
|||
as:'hello'. |
|||
service linkNames:#('/' ). |
service linkNames:#('/' ). |
||
service registerServiceOn: myServer. |
service registerServiceOn: myServer. |