Interface SandboxConnectionConfig

All Known Implementing Classes:
DirectConnectionConfig, GatewayConnectionConfig, InClusterConnectionConfig, LocalTunnelConnectionConfig

Connection configuration for reaching a sandbox via the sandbox-router (or directly in-cluster). Mirrors the Python SDK's SandboxConnectionConfig union.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Port the sandbox container listens on (sent as X-Sandbox-Port).
  • Method Details

    • serverPort

      int serverPort()
      Port the sandbox container listens on (sent as X-Sandbox-Port).
      Returns:
      server port, default 8888