Send to Printer

smalltalkDaily

Smalltalk Daily 09/13/10: Smalltalk and Proxy Servers

September 13, 2010 7:53:58.638

Today's Smalltalk Daily looks at how you use proxy services - including NTLM - in Cincom Smalltalk. To watch now on YouTube, click here. The code used in the screencast (click here to skip right to the video):


"set up for proxy services"
proxy := (HostSpec new
			name: cincomProxy;
			port: 80;
			type: 'http';
			yourself).

proxy netUser: (NetUser username: username password: password).
Net.Settings httpDomain: 'CINCOM'.
cl := HttpClient new.
cl 
	proxyHost: proxy;
	useProxy: true.
reply := cl get: 'http://www.yahoo.com'.

You can follow the Smalltalk channel on YouTube for all the "Smalltalk Daily" videos. You can also check out the videos on Vimeo, where the quality is higher, or over on Facebook, if you are a member.

You can download the video directly here. If you need the video in a Windows Media format, then download that here. If you like this kind of video, why not subscribe to "Smalltalk Daily"?

Technorati Tags: , , ,

posted by James Robertson

 Share Tweet This