1
0
mirror of https://github.com/waku-org/nwaku.git synced 2025-01-19 03:12:35 +00:00

19 lines
328 B
Nim

{.push raises: [].}
import std/options
import ../waku_core
type
PushRequest* = object
pubSubTopic*: string
message*: WakuMessage
PushResponse* = object
isSuccess*: bool
info*: Option[string]
PushRPC* = object
requestId*: string
request*: Option[PushRequest]
response*: Option[PushResponse]