startHttpApi(port)

Starts the local HTTP API server at the given port.

startHttpApi(port)

Parameters

  • port (number) – Port to serve the HTTP API.

Return Value

number (0 = success) : Starts the local HTTP API server

Example

// example

sdk.startHttpApi(9090);

Last updated

Was this helpful?