langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
14
Task/HTTP/Objeck/http.objeck
Normal file
14
Task/HTTP/Objeck/http.objeck
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
use Net;
|
||||
use Structure;
|
||||
|
||||
bundle Default {
|
||||
class HttpTest {
|
||||
function : Main(args : String[]) ~ Nil {
|
||||
client := HttpClient->New("http://rosettacode.org", 80);
|
||||
lines := client->Get();
|
||||
each(i : lines) {
|
||||
lines->GetValue(i)->As(String)->PrintLine();
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue