Class RequestMessage
Represents a script request message to send to a Gremlin Server.
Inheritance
System.Object
RequestMessage
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.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:Gremlin.Net.Messages
Assembly:Gremlin.Net.dll
Syntax
public class RequestMessage
Properties
| Improve this Doc View SourceOperation
Gets or sets the name of the operation that should be executed by the Gremlin Server.
Declaration
[JsonProperty(PropertyName = "op")]
public string Operation { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the "operation" to execute based on the available OpProcessor configured in the Gremlin Server. |
Processor
Gets or sets the name of the OpProcessor to utilize.
Declaration
[JsonProperty(PropertyName = "processor")]
public string Processor { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the OpProcessor to utilize. This defaults to an empty string which represents the default OpProcessor for evaluating scripts. |
RequestId
Gets the ID of this request message.
Declaration
[JsonProperty(PropertyName = "requestId")]
public Guid RequestId { get; }
Property Value
Type | Description |
---|---|
System.Guid | A UUID representing the unique identification for the request. |