PEAR Manual
Prev |  | Next

# 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.

Prev | Home | Next
HTTP_Download::setFile() | Up | HTTP_Download::setResource()