# Module web

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

- requesting URLs
- sending and retrieving emails
- sending and retrieving files from an FTP server

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

Deprecated since version 0.8.8: Use the httpclient module instead.

# Imports

libcurl, streams

# 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: 2013-05-21 09:55:12 UTC