文字

http_send_stream

(PECL pecl_http >= 0.1.0)

http_send_streamSend stream

说明

bool http_send_stream ( resource $stream )

Sends an already opened stream with support for (multiple) range requests.

参数

stream

stream to read from (must be seekable)

返回值

成功时返回 TRUE , 或者在失败时返回 FALSE

参见

  • http_send_data() - Send arbitrary data
  • http_send_file() - Send file
  • http_throttle() - HTTP throttling
  • http_send_content_type() - Send Content-Type
  • http_send_content_disposition() - Send Content-Disposition
  • 如使用 PHP 5.1.0 及以后版本中为 HttpResponse 类。
上一篇: 下一篇: