示例#1
0
 /// <summary>
 /// 删除一个令牌
 /// </summary>
 /// <param name="token_id"></param>
 /// <param name="timeout">请求超时时间,单位秒</param>
 /// <returns></returns>
 public static HttpResponse <string> DeleteToken(string token_id, long timeout = 30)
 {
     return(Rtc.Delete("/tokens/" + token_id, timeout).asString());
 }
示例#2
0
 /// <summary>
 /// 重置此项目API Secret
 /// </summary>
 /// <param name="timeout"></param>
 /// <returns></returns>
 public HttpResponse <ProjectItem> ResetProject(long timeout = 30)
 {
     return(Rtc.Delete("/project/reset", timeout)
            .asJson <ProjectItem>());
 }
示例#3
0
 /// <summary>
 /// 删除一个会话
 /// </summary>
 /// <param name="param"></param>
 /// <param name="timeout">请求超时时间,单位秒</param>
 /// <returns></returns>
 public static HttpResponse <string> DeleteSession(string session_id, long timeout = 30)
 {
     return(Rtc.Delete("/sessions/" + session_id, timeout).asString());
 }
示例#4
0
 /// <summary>
 /// 删除此项目信息
 /// </summary>
 /// <param name="timeout"></param>
 /// <returns></returns>
 public HttpResponse <string> DeleteProject(long timeout = 30)
 {
     return(Rtc.Delete("/project/delete", timeout)
            .asString());
 }