http_send_stream
(PECL pecl_http:0.1.0-1.5.5)
http_send_stream — ストリームを送信する
説明
bool http_send_stream
( resource $stream
)
(複数の) range リクエストをサポートする、 オープン済みのストリームを送信します。
パラメータ
- stream
-
読み込み元となるストリーム (シーク可能でなければなりません)。
返り値
成功した場合に TRUE を、失敗した場合に FALSE を返します。
参考
- http_send_data()
- http_send_file()
- http_throttle()
- http_send_content_type()
- http_send_content_disposition()
- PHP 5.1 以降を使用している場合は HttpResponse クラス