Enum ConnectionMode
Supported connection types for client connections
Namespace: DuetAPI.Connection
Assembly: DuetAPI.dll
Syntax
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum ConnectionMode
Fields
Name | Description |
---|---|
CodeStream | Code stream mode. This mode lets users send and receive code replies asynchronously using a single socket connection |
Command | Command mode. This allows clients to send general purpose messages to the control server like G-codes or requests of the full object model |
Intercept | Interception mode. This allows clients to intercept G/M/T-codes before or after they are initially processed |
PluginService | Plugin service mode. This mode is used internally and should not be used by third-party plugins! |
Subscribe | Subscription mode. In this mode object model updates are transmitted to the client after each update |
Unknown | Unknown connection type. If this is used, the connection is immediately terminated |