http-relay 0.7.0

A Rust implementation of _some_ of [Http relay spec](https://httprelay.io/).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Shared types for relay storage implementations.

/// A stored entry retrieved from the repository.
pub struct StoredEntry {
    /// The message body (None if entry was acked and body cleared).
    pub message_body: Option<Vec<u8>>,
    /// The content type of the message.
    pub content_type: Option<String>,
    /// Whether the entry has been acknowledged.
    pub acked: bool,
    /// Unix timestamp when the entry expires.
    pub expires_at: i64,
}