Houdini 20.0 hapi

hapi.startThriftNamedPipeServer function

Starts a Thrift RPC server process on the local host serving

Usage

startThriftNamedPipeServer(options: hapi.ThriftServerOptions, pipe_name: str, log_file: str) → int

Starts a Thrift RPC server process on the local host serving clients on a Windows named pipe or a Unix domain socket and waits for it to start serving. It is safe to create an RPC session using the specified pipe or socket after this call succeeds.

options

Options to configure the server being started.

pipe_name

The name of the pipe or socket.

log_file

When a filepath is provided for this argument, all logs will be appended to the specified file. The specfied path must be an absolute path. The server will create any intermediate directories in the filepath that do not already exist. When this argument is NULL/nullptr, logging will be directed to the standard streams.

Returns process_id as a int.

hapi