Source

open-uri /

Filename Size Date modified Message
31 B
682 B
555 B
86 B
1.2 KB
205 B
766 B
480 B

open-uri for chicken scheme

Examples

   (use open-uri)

   (display (open-uri "http://call-cc.org"))
   (open-uri "http://wiki.call-cc.org" reader: (lambda (port) (read-line port)))
   (open-uri "http://some-protected-domain.example.org" username: "username" password: "password")

Implement your own openers

   (use open-uri-base)

   (define (my-opener uri proc #!rest args)
     ;; implement it
     )

   ;;register it
   (register-uri-opener! 'frooble my-opener)

   ;;register multiple schemes
   (register-uri-opener! '(frooble barbaz) my-opener)