nstcl  >  Documentation  >  nstcl-http  >  ns_httpget

Tcl Powered!

ns_httpget

NAME

ns_httpget — Opens an HTTP connection and gets a page

SYNOPSIS

package require nstcl-http ?1.0?
package require nstcl ?1.0?

::nstcl::ns_httpget url ?timeout? ?depth?

DESCRIPTION

ns_httpget opens an HTTP connection and gets a url, waiting up to timeout seconds for a response, following at most depth HTTP redirects.

KEYWORDS

http, nstcl