| Home | Libraries | People | FAQ | More

#### buffer_params

(Legacy) Buffer configuration parameters for a connection.

##### Synopsis

Defined in header `<boost/mysql/buffer_params.hpp>`

    class buffer_params;

##### Member Functions

Name | Description
--- | ---
buffer_params [constructor] | Initializing constructor.
initial_read_size | Gets the initial size of the read buffer.
set_initial_read_size | Sets the initial size of the read buffer.

##### Static Members

Name | Description
--- | ---
default_initial_read_size | The default value of `initial_read_size`.

##### Legacy

This class is used with the legacy `connection` class. New code should use `any_connection`, instead. The equivalent to `buffer_params` is `any_connection_params::initial_buffer_size`.

Convenience header `<boost/mysql.hpp>`