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:
http, smalltalk, ntlm, proxy server