Jxm.startServer()

Machine used to start an instance of a jxm server

Usage

Hover over inputs/exits for more info.

var Jxm = require('machinepack-jxm');


// Machine used to start an instance of a jxm server

Jxm.startServer({

serviceName: 'Hello World',

baseUrlPath: '/helloworld',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function (result) {

 

},

});

Inputs

serviceName required

The name of our service

'Hello World'
baseUrlPath

The base url path of our service. If none is provided, inferred from serviceName

'/helloworld'

Exits

error

An unexpected error occurred.

success

OK.

'ok!'