mcorest_start

Start the MCO REST server.

For an overview see page Web Services

Prototype

    MCO_RET mcorest_start(mcorest_h rest);

Arguments

rest
Server instance handle.

Description

This function starts the MCO REST server. No further operations on the server handle and interface handles are allowed until mcorest_stop() is called. This function should only be called from the same thread that created the server.

Return Codes

MCO_S_OK = 0
Success.
MCO_E_REST_*
Any of the Web Services Error Codes.

Files

Header file:
mcorest.h
Source file:
mcorest.c
Library:
libmcorest.a