Merge rpcsocket into rpcserver

This commit is contained in:
coffeepots 2018-07-12 09:43:44 +01:00
parent 3da2738e27
commit e3a7ffd121
6 changed files with 6 additions and 8 deletions

View File

@ -1,2 +1,2 @@
import json_rpc / server
export server
import json_rpc / server, json_rpc / transports / socket
export server, socket

View File

@ -1,2 +0,0 @@
import json_rpc / server, json_rpc / transports / socket
export server, socket

View File

@ -3,7 +3,7 @@
allow unchecked and unformatted calls.
]#
import unittest, debugclient, ../rpcsocket
import unittest, debugclient, ../rpcserver
import strformat, chronicles
var server = newRpcSocketServer("localhost", 8547.Port)

View File

@ -1,5 +1,5 @@
import unittest, json, tables
import ../rpcclient, ../rpcsocket
import ../rpcclient, ../rpcserver
import stint, ethtypes, ethprocs, stintjson, nimcrypto, ethhexstrings, chronicles
from os import getCurrentDir, DirSep

View File

@ -1,5 +1,5 @@
import unittest, json, tables, chronicles
import ../rpcsocket
import ../rpcserver
type
# some nested types to check object parsing

View File

@ -1,5 +1,5 @@
import unittest, json, chronicles
import ../rpcclient, ../rpcsocket
import ../rpcclient, ../rpcserver
var srv = newRpcSocketServer(["localhost:8545"])
var client = newRpcStreamClient()