Esempio n. 1
0
 /// <summary>
 /// 设置Chatroom SDK统一的网络代理,不需要代理时,type设置为kNIMProxyNone,其余参数都传空字符串(端口设为0)
 /// </summary>
 /// <param name="type">代理类型</param>
 /// <param name="host">代理地址</param>
 /// <param name="port">端口</param>
 /// <param name="user">用户名</param>
 /// <param name="password">密码</param>
 public static void SetProxy(NIMChatRoomProxyType type, string host, int port, string user, string password)
 {
     ChatRoomNativeMethods.nim_chatroom_set_proxy(type, host, port, user, password);
 }