mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-19 03:12:35 +00:00
d3c5840a79
* Added some basic debug and relay json-rpc calls * Basic relay polling
20 lines
722 B
Nim
20 lines
722 B
Nim
# Debug API
|
|
|
|
proc get_waku_v2_debug_v1_info(): WakuInfo
|
|
|
|
# Relay API
|
|
|
|
proc post_waku_v2_relay_v1_message(topic: string, message: WakuRelayMessage): bool
|
|
proc get_waku_v2_relay_v1_messages(topic: string): seq[WakuMessage]
|
|
proc post_waku_v2_relay_v1_subscriptions(topics: seq[string]): bool
|
|
proc delete_waku_v2_relay_v1_subscriptions(topics: seq[string]): bool
|
|
|
|
# Store API
|
|
|
|
proc get_waku_v2_store_v1_messages(topics: seq[ContentTopic], pagingOptions: Option[StorePagingOptions]): StoreResponse
|
|
|
|
# Filter API
|
|
|
|
proc post_waku_v2_filter_v1_subscription(contentFilters: seq[ContentFilter], topic: Option[string]): bool
|
|
proc delete_waku_v2_filter_v1_subscription(contentFilters: seq[ContentFilter], topic: Option[string]): bool
|