[ Previous ] [ Contents ] [ Index ] [ Next ]

ns_httpget

Overview

Open an HTTP connection and fetch a page

Syntax

ns_httpget url ?timeout? ?depth?

Description

ns_httpget opens an HTTP connection and fetches the page at the specified url. You can specify a timeout for opening the connection (the default is 30 seconds), and a maximum level of redirection (the default is 0).

Example

    set page [ns_httpget http://www.aolserver.com]

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.