Class NeonGrpcServices
Creates clients for NEONKUBE related gRPC services.
Namespace: Neon.Kube.GrpcProto
Assembly: Neon.Kube.GrpcProto.dll
Syntax
public static class NeonGrpcServices
Methods
CreateDesktopServiceChannel(string?)
Creates a gRPC channel that can be used to access the Neon Desktop Service.
Declaration
public static GrpcChannel? CreateDesktopServiceChannel(string? socketPath = null)
Parameters
Type | Name | Description |
---|---|---|
string | socketPath | Optionally specifies an alternative path to the desktop services Unix domain socket for testing purposes. This defaults to WinDesktopServiceSocketPath where neon-desktop and neon-cli expect it to be. |
Returns
Type | Description |
---|---|
GrpcChannel | A IGrpcDesktopService or |