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
|
|
@ -0,0 +1,35 @@
|
|||
using RethinkDb.Driver.Ast;
|
||||
using RethinkDb.Driver.Net;
|
||||
using RethinkDb.Driver.Net.Clustering;
|
||||
|
||||
namespace RethinkDb.Driver
|
||||
{
|
||||
/// <summary>
|
||||
/// The RethinkDB API
|
||||
/// </summary>
|
||||
public class RethinkDB : TopLevel
|
||||
{
|
||||
/// <summary>
|
||||
/// The Singleton to use to begin interacting with RethinkDB Driver
|
||||
/// </summary>
|
||||
public static readonly RethinkDB R = new RethinkDB();
|
||||
|
||||
/// <summary>
|
||||
/// A connection builder that can create a single connection to a RethinkDB.
|
||||
/// </summary>
|
||||
/// <returns>A connection builder for setting connection properties fluently.</returns>
|
||||
public virtual Connection.Builder Connection()
|
||||
{
|
||||
return Net.Connection.Build();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A connection builder that can create a pooled connection to a RethinkDB cluster.
|
||||
/// </summary>
|
||||
/// <returns>A connection builder for setting connection pool properties fluently.</returns>
|
||||
public virtual ConnectionPool.Builder ConnectionPool()
|
||||
{
|
||||
return Net.Clustering.ConnectionPool.Build();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue