in boost::asio, It has a method like this :

basicstreamsocket::read_some (1 of 2 overloads)

This function is used to read data from the stream socket. The
function call will block until one or more bytes of data has been
read successfully, or until an error occurs.

how can I get this function in vibe.d?