HTTP_Download::setData

HTTP_Download::setData() – Set raw data

Synopsis

void HTTP_Download::setData ( mixed $data = null )

Description

Set $data to null if you want to unset.

Otherwise you can send any arbitrary data ie. from a database BLOB.

Parameter

  • mixed $data = null - any arbietrary data as string to send or null to unset

Note

This function can not be called statically.

Set file path (Previous) Set resource for download (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.