Show / Hide Table of Contents

    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 GremlinServer class with the specified connection parameters.

    Declaration
    public GremlinServer(string hostname = "localhost", int port = 8182, bool enableSsl = false, string username = null, string password = null)
    Parameters
    Type Name Description
    System.String hostname

    The hostname of the server.

    System.Int32 port

    The port on which Gremlin Server can be reached.

    System.Boolean enableSsl

    Specifies whether SSL should be enabled.

    System.String username

    The username to submit on requests that require authentication.

    System.String 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.String

    Uri

    Gets the URI of the Gremlin Server.

    Declaration
    public Uri Uri { get; }
    Property Value
    Type Description
    Uri

    The WebSocket that the Gremlin Server responds to.

    Username

    Gets the username to submit on requests that require authentication.

    Declaration
    public string Username { get; }
    Property Value
    Type Description
    System.String
    Back to top Copyright © 2018 The Apache Software Foundation