[racket] Fetching a Web page?

From: Danny Yoo (dyoo at cs.wpi.edu)
Date: Mon Feb 14 13:34:15 EST 2011

On Mon, Feb 14, 2011 at 1:20 PM,  <mike at goblin.punk.net> wrote:
> Is there a procedure to fetch a Web page?  I'm probably looking in the wrong places for it.  I found the Racket Networking Libraries, but I'm not familiar with Web sockets.

Hi Mike,

You'll can find it here:


For example:

#lang racket
(require net/url)
(define a-page
    (get-pure-port (string->url "http://racket-lang.org/index.html"))))

Posted on the users mailing list.