Class GremlinServer
Represents a Gremlin Server.
Inheritance
System.Object
GremlinServer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Driver
Assembly: cs.temp.dll.dll
Syntax
public class GremlinServer
Constructors
GremlinServer(String, Int32, Boolean, String, String)
Initializes a new instance of the Gremlin
Declaration
public GremlinServer(string hostname = "localhost", int port = 8182, bool enableSsl = false, string username = null, string password = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
hostname | The hostname of the server. |
System. |
port | The port on which Gremlin Server can be reached. |
System. |
enableSsl | Specifies whether SSL should be enabled. |
System. |
username | The username to submit on requests that require authentication. |
System. |
password | The password to submit on requests that require authentication. |
Properties
Password
Gets the password to submit on requests that require authentication.
Declaration
public string Password { get; }
Property Value
Type | Description |
---|---|
System. |
Uri
Gets the URI of the Gremlin Server.
Declaration
public Uri Uri { get; }
Property Value
Type | Description |
---|---|
Uri | The WebSocket |
Username
Gets the username to submit on requests that require authentication.
Declaration
public string Username { get; }
Property Value
Type | Description |
---|---|
System. |