Refine Service Api a bit

This commit is contained in:
K35
2022-01-07 22:10:24 +00:00
parent bb46da08de
commit 48a0713045
5 changed files with 19 additions and 4 deletions

View File

@ -75,7 +75,7 @@ class Program {
public static async Task Start() {
var server = new Example.JRpcServer<int>();
server.AddService("TestService", new TestSrvimpl());
server.AddService(new TestSrvimpl());
var transport = new CopyTransportS1();
var sess = server.GetSession(transport, 0);