diff options
Diffstat (limited to 'src/SocketCore.h')
| -rw-r--r-- | src/SocketCore.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/SocketCore.h b/src/SocketCore.h index 48c9c7d2..7fdcf6e3 100644 --- a/src/SocketCore.h +++ b/src/SocketCore.h @@ -337,6 +337,11 @@ public: */ bool wantWrite() const; + // Returns buffered data which are already received. This data was + // already read from socket, and ready to read without reading + // socket. + size_t getRecvBufferedLength() const; + #ifdef ENABLE_SSL static void setClientTLSContext(const std::shared_ptr<TLSContext>& tlsContext); |
