Out with MagicOnion, in with LiteNetLib
Removed MagicOnion Added LiteNetLib Created client and server abstractions Fixed serialization bugs
This commit is contained in:
parent
433a7b4ae4
commit
e96146b7bb
869 changed files with 59401 additions and 16812 deletions
|
|
@ -1,8 +1,3 @@
|
|||
using Grpc.Core;
|
||||
using MagicOnion.Hosting;
|
||||
using MagicOnion.Server;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.Hosting;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
|
|
@ -18,11 +13,6 @@ namespace ChatApp.Server
|
|||
var connection = RethinkDb.Driver.RethinkDB.R.Connection().Hostname("asgard.gamecult.games")
|
||||
.Port(RethinkDBConstants.DefaultPort).Timeout(60).Connect();
|
||||
|
||||
GrpcEnvironment.SetLogger(new Grpc.Core.Logging.ConsoleLogger());
|
||||
|
||||
await MagicOnionHost.CreateDefaultBuilder()
|
||||
.UseMagicOnion()
|
||||
.RunConsoleAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue