[][src]Trait timegate::TimeGate

pub trait TimeGate {
    fn map(&self, url: &Url) -> Option<TimeMap>;
fn get(&self, url: &Url, timestamp: u64) -> Option<Memento>; }

Required methods

fn map(&self, url: &Url) -> Option<TimeMap>

Get pure timemap for a Url resource. The response does not contain any extra header.

fn get(&self, url: &Url, timestamp: u64) -> Option<Memento>

Accept-Datetime based negotiation endpoint that returns the memento. Contains extra headers that contain extra information like gate and map url, previous and next versions, etc.

Loading content...

Implementors

Loading content...