ext/iodine/websockets.c
/** Sets the opaque user data associated with the websocket.
 * Returns the old value, if any. */
Sets the opaque user data associated with the websocket.
Returns the old value, if any.
Sets the opaque user data associated with the websocket . Returns the old value if any .
void *websocket_udata_set(ws_s *ws, void *udata) {
  void *old = ws->udata;
  ws->udata = udata;
  return old;
}
void * websocket_udata_set ( ws_s * ws , void * udata ) { void * old = ws -> udata ; ws -> udata = udata ; return old ; }
Sets the opaque user data associated with the websocket.
Sets the opaque user data associated with the websocket .