Example #1
0
 public static _GremlinServer WithHost(this _GremlinServer server, string host) => new _GremlinServer(
     host,
     server.Uri.Port,
     server.IsSslEnabled(),
     server.Username,
     server.Password);
Example #2
0
 public static _GremlinServer WithUsername(this _GremlinServer server, string username) => new _GremlinServer(
     server.Uri.Host,
     server.Uri.Port,
     server.IsSslEnabled(),
     username,
     server.Password);
Example #3
0
 public static _GremlinServer WithPassword(this _GremlinServer server, string password) => new _GremlinServer(
     server.Uri.Host,
     server.Uri.Port,
     server.IsSslEnabled(),
     server.Username,
     password);
Example #4
0
 public static _GremlinServer WithPort(this _GremlinServer server, int port) => new _GremlinServer(
     server.Uri.Host,
     port,
     server.IsSslEnabled(),
     server.Username,
     server.Password);