Module web

This module contains simple high-level procedures for dealing with the web. Use cases:

Currently only requesting URLs is implemented. The implementation depends on the libcurl library!

Deprecated since version 0.8.8: Use the httpclient module instead.

Procs

proc URLretrieveStream*(url: string): PStream
retrieves the given url and returns a stream which one can read from to obtain the contents. Returns nil if an error occurs.
proc URLretrieveString*(url: string): TaintedString
retrieves the given url and returns the contents. Returns nil if an error occurs.
Generated: 2012-09-23 21:47:54 UTC