Endpoint configuration · GraphQL type

ServiceSocket type

Socket configuration for launch-on-demand.

Fields

Field Name Description
key - String! Socket identifier.
sockType - String Socket type to create. Common values: "stream", "dgram", "seqpacket".
sockPassive - Boolean If true, create a listening socket. If false, create a connecting socket.
sockNodeName - String Node name or address to connect or bind to.
sockServiceName - String Service name or port on the node to connect or bind to.
sockFamily - String Socket family, such as "IPv4", "IPv6", or "Unix".
sockProtocol - String Protocol to use (e.g., "TCP").
sockPathName - String Path for a Unix domain socket.
secureSocketWithKey - String Create a secure Unix domain socket and expose its path via an environment variable.
sockPathMode - Int Permission mode for the socket (use decimal values).
bonjour - [String!] Bonjour service names to advertise.
multicastGroup - String Multicast group to join for datagram sockets. If an explicit IP address is provided, also set the socket family.

Used by

Example

Example

{
  "key": "xyz789",
  "sockType": "xyz789",
  "sockPassive": true,
  "sockNodeName": "xyz789",
  "sockServiceName": "xyz789",
  "sockFamily": "abc123",
  "sockProtocol": "xyz789",
  "sockPathName": "abc123",
  "secureSocketWithKey": "abc123",
  "sockPathMode": 123,
  "bonjour": ["xyz789"],
  "multicastGroup": "abc123"
}