Last updated at 10:40 am UTC on 17 March 2019
WebClient and WebServer 1.0 for Squeak 4.1 (May 2010).
Since Squeak 4.6 a WebServer is included in the WebClient package.
For instructions and examples choose the menu 'Help' and then 'Help Browser', topic 'WebServer'.
HelpBrowser openOn: WebServerHelp.
WebServer / WebClient to replace HTTPSocket
Frank Shearar Thu, May 15, 2014 at 3:07 PM
Reply-To: The general-purpose Squeak developers list
To: The general-purpose Squeak developers list
On 15 May 2014 13:17, Tobias Pape wrote:
> Hey all
> Re-reading an old blog post
> Can we make the last paragraph happen?
> As a result, we now have what I think is a pretty decent HTTP server and client implementation for Squeak 4.1 and hopefully we can nuke HTTPSocket sometime soon. WebClient is superior in _every_ respect.
A simple example:
WebServer and WebClient hello world demo
To know your local host address:
Note about Pharo port
This Webclient / Webserver code was also loaded into Pharo and has been modified there.
No documentation yet how much the APIs differ. There are attempts to have a Facade covering both APIs (TODO: post link here)