Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 1 and Version 2 of HttpGetExample

Show
Ignore:
Author:
Jordi Sayol (IP: 188.119.210.222)
Timestamp:
04/20/12 15:17:50 (12 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HttpGetExample

    v1 v2  
    2929void main (char[][] args) 
    3030{ 
    31         char[] url = (args.length is 2) ? args[1] : "http://www.digitalmars.com/d/intro.html"; 
     31        const(char)[] url = (args.length is 2) ? args[1] : "http://www.digitalmars.com/d/intro.html"; 
    3232             
    3333        // open a web-page for reading (see HttpPost for writing)