Functions | |
| wcHandle DLLEXPORT | wcClientCreate () |
| Create client. More... | |
| wcRCode DLLEXPORT | wcClientStart (wcHandle client) |
| Launch client. More... | |
| wcRCode DLLEXPORT | wcClientAuth (wcHandle client, const char *aLogin, const char *aPwrd) |
| Authorize client on the server host. More... | |
| wcRCode DLLEXPORT | wcClientProceed (wcHandle client) |
| Call the asynchronous client update stage. More... | |
| wcRCode DLLEXPORT | wcClientTasksProceed (wcHandle client) |
| Call the synchronous client update stage. More... | |
| wcRCode DLLEXPORT | wcClientDisconnect (wcHandle client) |
| Disconnect client from the server host. More... | |
| wcRCode DLLEXPORT | wcClientDestroy (wcHandle client) |
| Destroy client. More... | |
| wcHandle DLLEXPORT wcClientCreate | ( | ) |
Launch client.
The function initializes and starts the client's working thread.
| client | The client handle. |
Authorize client on the server host.
See protocol request authorize.json.
| client | The client handle. |
| aLogin | The name of the user on the server. |
| aPwrd | The password of the user on the server. |
Call the asynchronous client update stage.
Thread safe. The function can be called from a separate thread.
| client | The client handle. |
Call the synchronous client update stage.
| client | The client handle. |
Disconnect client from the server host.
| client | The client handle. |