You are here

constant FileUploadResource::BYTES_TO_READ in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/file/src/Plugin/rest/resource/FileUploadResource.php \Drupal\file\Plugin\rest\resource\FileUploadResource::BYTES_TO_READ
  2. 9 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 74

Class

FileUploadResource
File upload resource.

Namespace

Drupal\file\Plugin\rest\resource

Code

const BYTES_TO_READ = 8192;