Executes one or more HTTP requests.
MCO_RET mcorest_conn_execute(mcorest_conn_h conn,
long timeout);
conn
timeout
This function executes one or more HTTP requests. This function may be called by a thread other than the one that accepted the connection. However, it should not be called with the same connection from different threads.
MCO_S_OK = 0
MCO_S_REST_CONN_FINISHED
MCO_S_REST_TIMEOUT
timeout.MCO_E_REST_*