2022-11-04 10:52:27 +01:00

21 lines
361 B
Nim

when (NimMajor, NimMinor) < (1, 4):
{.push raises: [Defect].}
else:
{.push raises: [].}
import
../waku_message
type
PushRequest* = object
pubSubTopic*: string
message*: WakuMessage
PushResponse* = object
isSuccess*: bool
info*: string
PushRPC* = object
requestId*: string
request*: PushRequest
response*: PushResponse