Share via


request_options::set_http_buffer_size Method

Sets the number of bytes to buffer when reading from and writing to a network stream.

void set_http_buffer_size(
   size_t http_buffer_size
);

Parameters

  • http_buffer_size
    The number of bytes to buffer when reading from and writing to a network stream.

Remarks

Using a larger buffer size is more efficient when downloading and uploading larger blobs because it will reduce CPU usage.

Requirements

Header: common.h

Namespace: azure::storage

See Also

Reference

request_options Class