Skip to content

Commit 139c48b

Browse files
authored
Merge pull request #31 from yueyaer/master
[lepd][READ.md] when we use Linux nc command to test,send "GetProcMeminfo?", the rpc method report error :(code:-32700)
2 parents 0771da7 + a4ab961 commit 139c48b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ LepvClient通过JsonRpc连接
2020

2121
发送"ListAllMethod?"这个rpc方法,可以获得LepD所支持的所有方法
2222

23-
root@bob-VirtualBox:~# echo "{\"method\":\"ListAllMethod\"}" | nc <lepd IP地址> 12307
23+
root@bob-VirtualBox:~# echo '{\"method\":\"ListAllMethod\"}' | nc <lepd IP地址> 12307
2424

2525
{
2626

@@ -31,7 +31,7 @@ root@bob-VirtualBox:~#
3131

3232
具体某个方法,比如想获得内存的信息
3333

34-
root@bob-VirtualBox:~# echo "{\"method\":\"GetProcMeminfo\"}" | nc <lepd IP地址> 12307
34+
root@bob-VirtualBox:~# echo '{\"method\":\"GetProcMeminfo\"}' | nc <lepd IP地址> 12307
3535

3636
{
3737

0 commit comments

Comments
 (0)