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 {.raises: [E_Base], 
    tags: [FWriteIO].}
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 {.raises: [E_Base], 
    tags: [FWriteIO].}
retrieves the given url and returns the contents. Returns nil if an error occurs.
Generated: 2014-03-11 21:26:42 UTC