added Stream::stop

This commit is contained in:
Michele Caini 2016-06-28 10:34:38 +02:00
parent ee0143246c
commit 8a7dd0aee6

View File

@ -36,6 +36,11 @@ public:
// TODO read
// TODO stop
UVWError stop() noexcept {
return UVWError{uv_read_stop(this->template get<uv_stream_t>())};
}
// TODO write
// TODO tryWrite