# 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

  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