mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-01-06 23:53:09 +00:00
var strings only for transport
This commit is contained in:
parent
2a6c1fb89a
commit
93c7a5577e
@ -7,7 +7,8 @@ proc rawCall*(self: RpcClient, name: string,
|
||||
let id = $self.nextId
|
||||
self.nextId.inc
|
||||
debug "Sending message", msg = msg
|
||||
let res = await self.transp.write(msg & "\c\l")
|
||||
var s = msg & "\c\l"
|
||||
let res = await self.transp.write(s)
|
||||
debug "Receiving length assert", value = res, length = len(msg), lengthDifferent = res != len(msg)
|
||||
|
||||
# completed by processMessage.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user