Pike v8.0 release 1738

Method HTTPAccept.RequestProgram()->reply()


Method reply

void reply(string data)
void reply(string headers, Stdio.File fd, int len)
void reply(int(0..0) ignore, Stdio.File fd, int len)

Description

Send a reply to the remote side. In the first case the data will be sent. In the second case the headers will be sent, then len bytes from fd. In the last case len bytes from fd will be sent.