PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

EventHttpRequest::sendReplyStart - Initiate a chunked reply | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

EventHttpRequest::sendReplyStart

(PECL event >= 1.4.0-beta)

EventHttpRequest::sendReplyStartInitiate a chunked reply

説明

public void EventHttpRequest::sendReplyStart ( int $code , string $reason )

Initiate a reply that uses Transfer-Encoding chunked .

This allows the caller to stream the reply back to the client and is useful when either not all of the reply data is immediately available or when sending very large replies.

The caller needs to supply data chunks with EventHttpRequest::sendReplyChunk() and complete the reply by calling EventHttpRequest::sendReplyEnd() .

パラメータ

code

The HTTP response code to send.

reason

A brief message to send with the response code.

返り値

値を返しません。

参考


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「EventHttpRequest::sendReplyStart - Initiate a chunked reply」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | EventHttpRequest::sendReplyStart - Initiate a chunked reply」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: