License:
BSD style: see license.txt

Version:
Initial release: January 2006

author:
Kris

$(DDOC_MODULE_MEMBERS
  • class HttpGet : tango.net.http.HttpClient.HttpClient;
  • $(DDOC_DECL_DD Supports the basic needs of a client making requests of an HTTP server. The following is a usage example:
            // open a web-page for reading (see HttpPost for writing)
            auto page = new HttpGet ("http://www.digitalmars.com/d/intro.html");
    
    // retrieve and flush display content Cout (cast(char[]) page.read) ();
    
    


  • this(char[] url, uint pageChunk = 16 * 1024);
  • Create a client for the given URL. The argument should be fully qualified with an "http:" or "https:" scheme, or an explicit port should be provided.

  • this(Uri uri, uint pageChunk = 16 * 1024);
  • Create a client with the provided Uri instance. The Uri should be fully qualified with an "http:" or "https:" scheme, or an explicit port should be provided.

  • void[] read ();




  • Copyright (c) 2004 Kris Bell. All rights reserved :: page rendered by CandyDoc