Radix Relay
Hybrid mesh communications with Signal Protocol encryption
Loading...
Searching...
No Matches
radix_relay::nostr::events::incoming::ok Struct Reference

Received OK response from relay. More...

#include <events.hpp>

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

Public Member Functions

 ok (const protocol::ok &msg)
 

Additional Inherited Members

- Static Public Member Functions inherited from radix_relay::nostr::protocol::ok
static auto deserialize (const std::string &json) -> std::optional< ok >
 Deserializes OK message from JSON.
 
- Public Attributes inherited from radix_relay::nostr::protocol::ok
std::string event_id
 ID of the event this responds to.
 
bool accepted {}
 Whether the event was accepted.
 
std::string message
 Human-readable status message.
 

Detailed Description

Received OK response from relay.

Definition at line 47 of file events.hpp.

Constructor & Destructor Documentation

◆ ok()

radix_relay::nostr::events::incoming::ok::ok ( const protocol::ok msg)
inlineexplicit

Definition at line 49 of file events.hpp.


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