Radix Relay
Hybrid mesh communications with Signal Protocol encryption
Loading...
Searching...
No Matches
radix_relay::nostr::protocol::eose Struct Reference

End of Stored Events marker. More...

#include <protocol.hpp>

Inheritance diagram for radix_relay::nostr::protocol::eose:
radix_relay::nostr::events::incoming::eose

Static Public Member Functions

static auto deserialize (const std::string &json) -> std::optional< eose >
 Deserializes EOSE message from JSON.
 

Public Attributes

std::string subscription_id
 Subscription this EOSE applies to.
 

Detailed Description

End of Stored Events marker.

Sent by relays to indicate all stored events matching a subscription have been sent.

Definition at line 168 of file protocol.hpp.

Member Function Documentation

◆ deserialize()

static auto radix_relay::nostr::protocol::eose::deserialize ( const std::string &  json) -> std::optional< eose >
static

Deserializes EOSE message from JSON.

Parameters
jsonJSON string in format ["EOSE", subscription_id]
Returns
Parsed eose or std::nullopt on failure

Member Data Documentation

◆ subscription_id

std::string radix_relay::nostr::protocol::eose::subscription_id

Subscription this EOSE applies to.

Definition at line 170 of file protocol.hpp.


The documentation for this struct was generated from the following file: