mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
fix: need an implementation of available() for WebSocketImpl
This commit is contained in:
parent
89816c0ea2
commit
4e375945f9
@ -57,6 +57,7 @@ public:
|
||||
virtual int sendTo(const void* buffer, int length, const SocketAddress& address, int flags = 0);
|
||||
virtual int receiveFrom(void* buffer, int length, SocketAddress& address, int flags = 0);
|
||||
virtual void sendUrgent(unsigned char data);
|
||||
virtual int available();
|
||||
virtual bool secure() const;
|
||||
virtual void setSendTimeout(const Poco::Timespan& timeout);
|
||||
virtual Poco::Timespan getSendTimeout();
|
||||
|
@ -322,5 +322,11 @@ Poco::Timespan WebSocketImpl::getReceiveTimeout()
|
||||
return _pStreamSocketImpl->getReceiveTimeout();
|
||||
}
|
||||
|
||||
|
||||
int WebSocketImpl::available()
|
||||
{
|
||||
return _pStreamSocketImpl->available();
|
||||
}
|
||||
|
||||
|
||||
} } // namespace Poco::Net
|
||||
|
Loading…
Reference in New Issue
Block a user