| 1358 | } |
| 1359 | |
| 1360 | std::shared_ptr<i2p::stream::StreamingDestination> ClientDestination::CreateStreamingDestination (uint16_t port, bool gzip) |
| 1361 | { |
| 1362 | auto dest = std::make_shared<i2p::stream::StreamingDestination> (GetSharedFromThis (), port, gzip); |
| 1363 | if (port) |
| 1364 | m_StreamingDestinationsByPorts[port] = dest; |
| 1365 | else // update default |
| 1366 | m_StreamingDestination = dest; |
| 1367 | return dest; |
| 1368 | } |
| 1369 | |
| 1370 | std::shared_ptr<i2p::stream::StreamingDestination> ClientDestination::RemoveStreamingDestination (uint16_t port) |
| 1371 | { |
no outgoing calls
no test coverage detected