event/FullyBufferedSocket: add method GetOutputMaxSize()
This commit is contained in:
parent
056ab199ab
commit
3b3c1d466d
@ -45,6 +45,10 @@ public:
|
|||||||
BufferedSocket::Close();
|
BufferedSocket::Close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::size_t GetOutputMaxSize() const noexcept {
|
||||||
|
return output.max_size();
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/**
|
/**
|
||||||
* @return the number of bytes written to the socket, 0 if the
|
* @return the number of bytes written to the socket, 0 if the
|
||||||
|
Loading…
Reference in New Issue
Block a user