XRPC
XRPC copied to clipboard
dotnet high performance remote interface and delegate invoke(RPC) communication components,support millions RPS remote interface method invokes
client = new XRPCClient("localhost", 9090); client.Options.ParameterFormater = new JsonPacket();//default messagepack helloSession = client.Create(); 其中client和helloSession都没有Close和Dispose
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1. Release notes Sourced from Newtonsoft.Json's releases. 13.0.1 New feature - Add JsonSelectSettings with configuration for a regex timeout Change - Remove portable assemblies from...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1. Release notes Sourced from Newtonsoft.Json's releases. 13.0.1 New feature - Add JsonSelectSettings with configuration for a regex timeout Change - Remove portable assemblies from...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1. Release notes Sourced from Newtonsoft.Json's releases. 13.0.1 New feature - Add JsonSelectSettings with configuration for a regex timeout Change - Remove portable assemblies from...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1. Release notes Sourced from Newtonsoft.Json's releases. 13.0.1 New feature - Add JsonSelectSettings with configuration for a regex timeout Change - Remove portable assemblies from...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1. Release notes Sourced from Newtonsoft.Json's releases. 13.0.1 New feature - Add JsonSelectSettings with configuration for a regex timeout Change - Remove portable assemblies from...
序列化的问题
当客户端和服务端数据交互的类 的特性不一致 就会RPC调用失败: 这句话可能说的不太明白,请看代码: 服务端: ``` public class student { public int a{get;set;} public int b{get;set;} } public interface IStudentService { AddStudent(student s); } ``` 客户端 ``` [JsonObject] //添加特性 public...
服务器端加了RPCDisconnect事件处理 在服务器端业务方法Exit里服务器断开连接 token.Session.Socket.Close(); server.Server.CloseSession(token.Session); 在客户端 foreach (var item in client.Clients) { item.TcpClient.DisConnect(); } 这些断开动作,都能触发RPCDisconnect,按理说连接应该断开了,但在关闭客户端时,还会再触发一次RPCDisconnect,说明连接之前没有彻底断开。
既然XRPC 默认是 message-pack那么 NewtonSoft.Json 那个依赖 能不能从默认依赖中删除。 目的:减少发布程序的依赖项。
请问大佬啥时候支持服务注册发现