Home Contents | # cgi:write | Httpd/CGI | Core4 Lua Event System

## SYNOPSIS

cgi:write(data [, data, ...])

## DESCRIPTION

Sends content data to the client. When necessary, it automatically closes the header phase by sending an empty line first.

The function can be called with a variable number of arguments. All arguments are sent to the client one after the other.

## SEE ALSO

cgi:start(), cgi:addheader(), cgi:cookie(), cgi:tohtml(), cgi:send()