crawlie v1.0.0 Crawlie.Stats.Server

Tracks the crawling statistics of a particular crawling session.

Summary

Types

Reference used in the API to query the correct instance of Crawlie.Stats.Server

Functions

Returns a Crawlie.Stats.Server.Data.t/0 object containing the crawling stats for a particular session

Types

ref()
ref() :: {:stats, pid}

Reference used in the API to query the correct instance of Crawlie.Stats.Server.

Functions

get_stats(ref)

Returns a Crawlie.Stats.Server.Data.t/0 object containing the crawling stats for a particular session.

The ref can be obtained from Crawlie.crawl_and_track_stats/3’s return tuple.