Kaya 0.5.2 reference for HTTP::getURL

List of functions and data types in HTTP

String getURL(HTTPURL url, [Pair<String, String> ] headers=createArray(1), HTTPversion version=HTTP10, [String] certfiles=[])

Arguments

Usage

Retrieve a URL by HTTP. The String returned will contain the HTTP response headers and response body exactly as sent by the server. Because Strings may not contain null bytes, this function is not suitable for retrieving binary data.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya