Back to Site
Loading...
Searching...
No Matches
dht_service.h
Go to the documentation of this file.
1#pragma once
2
22#include "librats/util/rats_export.h"
23
24namespace librats {
25
26class DhtClient;
27
28struct RATS_API DhtService {
29 virtual ~DhtService() = default;
30
33 virtual DhtClient* dht_client() = 0;
34};
35
36} // namespace librats
Definition node.h:73
virtual ~DhtService()=default
virtual DhtClient * dht_client()=0
The primary live DHT client (IPv4 preferred, IPv6 as fallback), or nullptr if neither family is curre...