Exemplo n.º 1
0
 /// <summary>
 /// 注册接口(获取 string)
 /// </summary>
 /// <param name="interfaceName">接口名称</param>
 /// <param name="interfaceUrl">接口url</param>
 /// <param name="handler">获取 string 之后的处理者</param>
 /// <param name="offlineHandle">离线模式处理者</param>
 public void RegisterInterface(string interfaceName, string interfaceUrl, HTFAction <string> handler, HTFAction offlineHandle = null)
 {
     _helper.RegisterInterface(interfaceName, interfaceUrl, handler, offlineHandle);
 }