HTTP: Difference between revisions

46 bytes removed ,  3 years ago
m
Updated URL.
m (Updated URL, whitespace.)
m (Updated URL.)
Line 1,648:
=={{header|REALbasic}}==
REALBasic provides an HTTPSocket class for handling HTTP connections. The 'Get' method of the HTTPSocket is overloaded and can download data to a file or return data as a string, in both cases a timeout argument can be passed.
<lang REALbasic>Dim sock As New HTTPSocket
Print(sock.Get("http://www.w3.org/Home.html", 10))</lang>
Dim sock As New HTTPSocket
Print(sock.Get("http://www.rosettacode.org", 10)) //set the timeout period to 10 seconds.
</lang>
 
=={{header|REBOL}}==