nwaku/waku/waku_lightpush/rpc.nim

19 lines
328 B
Nim
Raw Normal View History

{.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]