FileUploadResource::BYTES_TO_READ

Same name in other branches
  1. 9 core/modules/file/src/Plugin/rest/resource/FileUploadResource.php \Drupal\file\Plugin\rest\resource\FileUploadResource::BYTES_TO_READ
  2. 10 core/modules/file/src/Plugin/rest/resource/FileUploadResource.php \Drupal\file\Plugin\rest\resource\FileUploadResource::BYTES_TO_READ

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

File

core/modules/file/src/Plugin/rest/resource/FileUploadResource.php, line 73

Class

FileUploadResource
File upload resource.

Namespace

Drupal\file\Plugin\rest\resource

Code

const BYTES_TO_READ = 8192;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.