mirror of
https://github.com/status-im/nim-json-rpc.git
synced 2025-02-25 18:55:12 +00:00
8 lines
255 B
Nim
8 lines
255 B
Nim
const
|
|
json_rpc_websocket_package {.strdefine.} = "news"
|
|
useNews* = json_rpc_websocket_package == "news"
|
|
|
|
when json_rpc_websocket_package notin ["websock", "news"]:
|
|
{.fatal: "json_rpc_websocket_package should be set to either 'websock' or 'news'".}
|
|
|