Search Results for

    Show / Hide Table of Contents

    Class GremlinServer

    Represents a Gremlin Server.

    Inheritance
    object
    GremlinServer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Gremlin.Net.Driver
    Assembly: Gremlin.Net.dll
    Syntax
    public class GremlinServer

    Constructors

    GremlinServer(string, int, bool, 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
    string hostname

    The hostname of the server.

    int port

    The port on which Gremlin Server can be reached.

    bool enableSsl

    Specifies whether SSL should be enabled.

    string username

    The username to submit on requests that require authentication.

    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
    string

    Uri

    Gets the URI of the Gremlin Server.

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

    The WebSocket Uri 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
    string
    In this article
    Back to top Copyright © 2018 The Apache Software Foundation