mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
delete stream by id for HTTP interface
This commit is contained in:
parent
8dae044600
commit
1e9a53da3f
4 changed files with 21 additions and 0 deletions
|
@ -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; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue