Nostr.Connection (nostr_access v0.3.3)
View SourceWebSocket connection to a Nostr relay with subscription management.
Summary
Functions
Closes a subscription.
Checks if the connection has free slots.
Publishes a Nostr event to the relay.
The caller will receive {:pub_ack, conn_pid, event_id, success?, message}.
Sends a filter to the relay.
Starts a new connection to a relay.
Functions
Closes a subscription.
Checks if the connection has free slots.
Publishes a Nostr event to the relay.
The caller will receive {:pub_ack, conn_pid, event_id, success?, message}.
Sends a filter to the relay.
Starts a new connection to a relay.