android-client/OnesaitPlatformAndroidClient/onesaitplatformandroidclientapi/src/main/java/com/minsait/onesait/platform/android/onesaitplatformandroidclientapi/RestClient.java
public int leave() throws IOException {
        if (sessionKey == "") {
            return HttpURLConnection.HTTP_OK;
        }

        int responseCode = -1;
        URL leaveUrl = new URL(baseUri.toString() + "client/leave");

        HttpURLConnection connection = getAuth(leaveUrl, sessionKey);
        responseCode = connection.getResponseCode();
        connection.disconnect();

        return responseCode;
    }
/**
     * LEAVE MESSAGE
     * @return HTTP return code, 200 if OK
     */
LEAVE MESSAGE
@return HTTP return code, 200 if OK
LEAVE MESSAGE @return HTTP return code 200 if OK
public int leave() throws IOException {
        if (sessionKey == "") {
            return HttpURLConnection.HTTP_OK;
        }
        int responseCode = -1;
        URL leaveUrl = new URL(baseUri.toString() + "client/leave");
        HttpURLConnection connection = getAuth(leaveUrl, sessionKey);
        responseCode = connection.getResponseCode();
        connection.disconnect();
        return responseCode;
    }
public int leave ( ) throws IOException { if ( sessionKey == "" ) { return HttpURLConnection . HTTP_OK ; } int responseCode = - 1 ; URL leaveUrl = new URL ( baseUri . toString ( ) + "client/leave" ) ; HttpURLConnection connection = getAuth ( leaveUrl , sessionKey ) ; responseCode = connection . getResponseCode ( ) ; connection . disconnect ( ) ; return responseCode ; }
LEAVE MESSAGE
 @return HTTP return code, 200 if OK
LEAVE MESSAGE @return HTTP return code 200 if OK