2020-11-27 09:18:48 +02:00
|
|
|
# Relay API
|
|
|
|
|
2020-11-30 11:44:57 +02:00
|
|
|
proc post_waku_v2_relay_v1_message(topic: string, message: WakuRelayMessage): bool
|
2020-12-01 11:57:54 +02:00
|
|
|
proc get_waku_v2_relay_v1_messages(topic: string): seq[WakuMessage]
|
2020-11-27 09:18:48 +02:00
|
|
|
proc post_waku_v2_relay_v1_subscriptions(topics: seq[string]): bool
|
|
|
|
proc delete_waku_v2_relay_v1_subscriptions(topics: seq[string]): bool
|
|
|
|
|
2020-12-23 11:33:28 +02:00
|
|
|
|
2023-02-10 10:43:16 +01:00
|
|
|
# Relay Private API
|
2020-12-23 11:33:28 +02:00
|
|
|
# Symmetric
|
|
|
|
proc get_waku_v2_private_v1_symmetric_key(): SymKey
|
|
|
|
proc post_waku_v2_private_v1_symmetric_message(topic: string, message: WakuRelayMessage, symkey: string): bool
|
|
|
|
proc get_waku_v2_private_v1_symmetric_messages(topic: string, symkey: string): seq[WakuRelayMessage]
|
|
|
|
# Asymmetric
|
|
|
|
proc get_waku_v2_private_v1_asymmetric_keypair(): WakuKeyPair
|
|
|
|
proc post_waku_v2_private_v1_asymmetric_message(topic: string, message: WakuRelayMessage, publicKey: string): bool
|
2023-02-10 10:43:16 +01:00
|
|
|
proc get_waku_v2_private_v1_asymmetric_messages(topic: string, privateKey: string): seq[WakuRelayMessage]
|