Class CrawlerProxy
Proxy that communicates with the crawler
public sealed class CrawlerProxy : ServiceProxy, IServiceProxy
  - Inheritance
 - 
      
      
      CrawlerProxy
 
- Implements
 
- Inherited Members
 
- Extension Methods
 
Remarks
ctor
Constructors
CrawlerProxy(IRpcClient, string)
Proxy that communicates with the crawler
public CrawlerProxy(IRpcClient rpcClient, string originService)
  Parameters
rpcClientIRpcClientIRpcClient instance to use for rpc communication
originServicestring
Remarks
ctor
Methods
GetIPs(DateTime, int, int, CancellationToken)
Retrieves ip addresses of peers that have connected after a given time
public Task<(IEnumerable<string> IPs, int Total)> GetIPs(DateTime after, int offset = 0, int limit = 10000, CancellationToken cancellationToken = default)
  Parameters
afterDateTimeoffsetintlimitintcancellationTokenCancellationTokenA token to allow the call to be cancelled
Returns
GetPeerCounts(CancellationToken)
Retrieves aggregate information about peers
public Task<PeerCounts> GetPeerCounts(CancellationToken cancellationToken = default)
  Parameters
cancellationTokenCancellationTokenA token to allow the call to be cancelled
Returns
- Task<PeerCounts>
 Information about peers