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,37 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using RethinkDb.Driver.Net;
|
||||
|
||||
namespace RethinkDb.Driver.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// A type helper that represents the result of <see cref="Connection.Server"/>
|
||||
/// and <seealso cref="Connection.ServerAsync"/>.
|
||||
/// </summary>
|
||||
public class Server
|
||||
{
|
||||
/// <summary>
|
||||
/// The server's id
|
||||
/// </summary>
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The server's name.
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// True if the driver is connected to a proxy server. False if the driver is
|
||||
/// connected to a RethinkDB server.
|
||||
/// </summary>
|
||||
public bool Proxy { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Extra metadata that couldn't be parsed, if any.
|
||||
/// </summary>
|
||||
[JsonExtensionData]
|
||||
public IDictionary<string, JToken> ExtraData { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue