On Mon, Feb 14, 2011 at 1:20 PM, <[email protected]> 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:
http://docs.racket-lang.org/net/url.html
For example:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#lang racket
(require net/url)
(define a-page
(port->string
(get-pure-port (string->url "http://racket-lang.org/index.html"))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
_________________________________________________
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users