mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-01-08 08:33:14 +00:00
updated news
This commit is contained in:
parent
5c0d096111
commit
ecf49a0632
@ -12,7 +12,7 @@ requires "nim >= 0.17.3",
|
||||
"chronos",
|
||||
"httputils",
|
||||
"chronicles",
|
||||
"news >= 0.2 & < 0.3",
|
||||
"news >= 0.4 & < 0.5",
|
||||
"chronicles",
|
||||
"json_serialization"
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ proc processData(client: RpcWebSocketClient) {.async.} =
|
||||
var error: ref Exception
|
||||
try:
|
||||
while true:
|
||||
var value = await client.transport.receivePacket()
|
||||
var value = await client.transport.receiveString()
|
||||
if value == "":
|
||||
# transmission ends
|
||||
break
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user