Sets the read timeout of the stream.
void read_timeout( std::size_t milliseconds);
Parameters
The timeout, in milliseconds, to be used for individual read operations on the underlying transport.
Remarks
Performs rdbuf()->read_timeout(milliseconds)
.