EventHttpRequest::sendReply

(PECL event >= 1.4.0-beta)

EventHttpRequest::sendReply — Envía una respuesta HTML al cliente

DescripciĂłn

public function EventHttpRequest::sendReply( int $code , string $reason , EventBuffer $buf = ?): void

EnvĂ­a una respuesta HTML al cliente. El cuerpo de la respuesta contiene los datos del parĂĄmetro opcional buf.

ParĂĄmetros

code

El cĂłdigo de respuesta HTTP a enviar.

reason

Un breve mensaje a enviar con el cĂłdigo de respuesta.

buf

El cuerpo de la respuesta.

Valores devueltos

No se retorna ningĂșn valor.

Véase también

add a note

User Contributed Notes

There are no user contributed notes for this page.