Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
17
Task/HTTPS/Nemerle/https.nemerle
Normal file
17
Task/HTTPS/Nemerle/https.nemerle
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Console;
|
||||
using System.Net;
|
||||
using System.IO;
|
||||
|
||||
module HTTP
|
||||
{
|
||||
Main() : void
|
||||
{
|
||||
def wc = WebClient();
|
||||
def myStream = wc.OpenRead(https://sourceforge.com);
|
||||
def sr = StreamReader(myStream);
|
||||
|
||||
WriteLine(sr.ReadToEnd());
|
||||
myStream.Close()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue