smalltalkDaily

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

September 13, 2010 7:54:41.551

Today's Smalltalk Daily looks at how you use proxy services - including NTLM - in Cincom Smalltalk. 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'.

To watch now, use the viewer below:

If you have trouble viewing that directly, you can click here to download the video directly. If you need the video in a Windows Media format, then download that here.

You can also watch it on YouTube:

Technorati Tags: , , ,

Enclosures:
[http://www.cincomsmalltalk.com/casts/stDaily/2010/smalltalk_daily-09-13-10-iPhone.m4v ( Size: 6504999 )]

 Share Tweet This
-->