public   void    EventHttpRequest::sendReply    (     int     $code      ,     string     $reason      [,     EventBuffer     $buf     ] )

EventHttpRequest::sendReplySend an HTML reply to the client

code

The HTTP response code to send.

reason

A brief message to send with the response code.

buf

The body of the response.