server-sdk-dotnet
server-sdk-dotnet copied to clipboard
RongCloud Server SDK in .NET.
销毁聊天室方法io.rong.methods.chatroom.Chatroom.Destroy中调用io.rong.util.CommonUtil.CheckFiled时报错:Cannot deserialize the current JSON array 解决方法:修改\jsonsource\chatroom\api.json第48行,删除[]
当使用 io.rong.methods.user.Update 方法刷新用户信息时,提示 portrait 参数必须提供。但是根据融云官网,refresh user api 中,portrait 则时可选的。 
原来的 dotnet sdk 只支持 .net framework,无法适用于 .net core 项目。另外原先的项目中的 json 文件必须随 dll 一起被使用方引用,否则会出现找不到对应 json 的问题。 通过本次改动,将项目变成 .net standard 2.0 项目,使其可同时被 .net framework 及 .net core 使用。另外,将 json 资源作为 嵌入的资源,这样使用方只需要引用 dll...
每个 发送方法的 message类型都不统一,应该写个 IMesssage 接口 ,然后所有message都实现它 ` interface IMesssage { string getType(); string toString(); } `
增加IMessage接口,所有的消息类型(包括自定义消息)均实现此接口,发送消息时,可发送任意消息类型