11 lines
231 B
Text
11 lines
231 B
Text
use HTTP;
|
|
use Collection;
|
|
|
|
class HttpTest {
|
|
function : Main(args : String[]) ~ Nil {
|
|
lines := HttpClient->New()->Get("http://rosettacode.org");
|
|
each(i : lines) {
|
|
lines->Get(i)->As(String)->PrintLine();
|
|
};
|
|
}
|
|
}
|