StartHttpApi

Start the HTTP API service on a given port.

int StartHttpApi(int port)

Parameters

  • port: Port number for the HTTP API.

Return Value

  • int: 0 if success.

Example

// example

StartHttpApi(9090);

Last updated

Was this helpful?