These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

## Abstract : URL

This class is included as part of the file URL.tz.
To use this class in a simulation, include the line "@use URL."

### Class description:

> URL is a class used for sending and receiving data with URLs. To fetch data from an http:// of ftp:// URL, use get. To put data to a web server via the HTTP PUT protocol, use put.

### Class methods:

> - get
> - put

`get url urlString (string)`

> Fetches a URL using the HTTP GET protocol. Returns any data sent from the server, or an empty string if there was no data or an error occurred.

`put put-data dataString (string) to urlString (string)`

> Puts data to a URL using the HTTP PUT protocol. Returns any data sent from the server, or an empty string if there was no data or an error occurred.

Documentation created Thu Jul 3 18:18:12 2008