ServerLaunchConfig#

class ansys.result_explorer.core.ServerLaunchConfig(port: int | None = None, grpc_port: int = 50000, ssl: bool = True, auth: bool = True, token: str | None = None, num_threads: int | None = None, log_level: str | None = None)#

Configuration for Result Explorer server startup.

Parameters:
portint, optional

Web server port. If None, an available port will be automatically selected.

grpc_portint, optional

gRPC server port. Default is 50000.

sslbool, optional

Whether to enable SSL. Default is True.

authbool, optional

Whether to enable authentication. Default is True.

tokenstr, optional

Authentication token/password. Only used if auth is enabled. If auth is True and token is None, a UUID token will be generated.

num_threadsint, optional

Number of DPF threads to use.

log_levelstr, optional

Log level (profile, debug, info, warning, error). Default is None (server default).

Methods

Attributes