mcorest_conn_cancel

Close an active connection.

For an overview see page Web Services

Prototype

    MCO_RET mcorest_conn_cancel(mcorest_conn_h conn);

Arguments

conn
Connection handle.

Description

This function closes an active connection. The connection must not be cancelled while it is being used by a different thread.

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