src/libs/ulfius/lib_websocket.c
/**
 * websocket_onclose_callback
 * onclose callback function
 * Used to clear data after the websocket connection is closed
 */
websocket_onclose_callback
onclose callback function
Used to clear data after the websocket connection is closed
websocket_onclose_callback onclose callback function Used to clear data after the websocket connection is closed
void websocket_onclose_callback (const struct _u_request * request,
                                struct _websocket_manager * websocket_manager,
                                void * websocket_onclose_user_data) {
  if (websocket_onclose_user_data != NULL) {
    dbgprintf(DBG_DEBUG, "websocket_onclose_user_data is %s", websocket_onclose_user_data);
    o_free(websocket_onclose_user_data);
  }
}
void websocket_onclose_callback ( const struct _u_request * request , struct _websocket_manager * websocket_manager , void * websocket_onclose_user_data ) { if ( websocket_onclose_user_data != NULL ) { dbgprintf ( DBG_DEBUG , " " , websocket_onclose_user_data ) ; o_free ( websocket_onclose_user_data ) ; } }
websocket_onclose_callback
 onclose callback function
 Used to clear data after the websocket connection is closed
websocket_onclose_callback onclose callback function Used to clear data after the websocket connection is closed