You are here

constant TemporaryJsonapiFileFieldUploader::BYTES_TO_READ in JSON:API 8.2

The amount of bytes to read in each iteration when streaming file data.

File

src/Controller/TemporaryJsonapiFileFieldUploader.php, line 56

Class

TemporaryJsonapiFileFieldUploader
Reads data from an upload stream and creates a corresponding file entity.

Namespace

Drupal\jsonapi\Controller

Code

const BYTES_TO_READ = 8192;