public void LoginAsync(string loginName, string password, Action <DataResponse <LoginedUser>, Exception> callback) { RpcRoot.JsonRpc.PostAsync( _controllerName, nameof(IUserController.Login), RpcUser.GetSignData(loginName, password), new object(), callback); }
public void LoginAsync(string loginName, string password, Action <DataResponse <LoginedUser>, Exception> callback) { RpcRoot.PostAsync(RpcRoot.OfficialServerHost, RpcRoot.OfficialServerPort, _controllerName, nameof(IUserController.Login), RpcUser.GetSignData(loginName, password), new SignRequest(), callback); }