http:geturl -command example
Posted to
tcl
by jdc at Tue Apr 02 10:24:54 GMT 2013
view raw
package
require http
proc
callback {args} {
set
::completed 1
}
set
t [http::geturl http://www.tcl.tk -command callback]
vwait
completed
puts
[http::data
$t
]
http::cleanup
$t
Recent Posts
tcl by arjen
3 days ago
tcl by cgm
13 days ago
tcl by cgm
13 days ago
tcl by alan
20 days ago
tcl by mookie
42 days ago
tcl by mookie
42 days ago
tcl by mookie
42 days ago
tcl by schelte
44 days ago
tcl by oldlaptop
56 days ago
tcl by oldlaptop
60 days ago
Submit
New paste
Documentation
From Jabber