delete stream by id for HTTP interface

This commit is contained in:
orignal 2020-03-04 15:54:09 -05:00
parent 8dae044600
commit 1e9a53da3f
4 changed files with 21 additions and 0 deletions

View file

@ -250,6 +250,7 @@ namespace stream
std::shared_ptr<Stream> CreateNewOutgoingStream (std::shared_ptr<const i2p::data::LeaseSet> remote, int port = 0);
void DeleteStream (std::shared_ptr<Stream> stream);
bool DeleteStream (uint32_t recvStreamID);
void SetAcceptor (const Acceptor& acceptor);
void ResetAcceptor ();
bool IsAcceptorSet () const { return m_Acceptor != nullptr; };