ext/iodine/iodine_connection.c
/**
 * Returns the client's current callback object.
 */
Returns the client's current callback object.
Returns the client ' s current callback object .
static VALUE iodine_connection_handler_get(VALUE self) {
  iodine_connection_data_s *data = iodine_connection_validate_data(self);
  if (!data) {
    FIO_LOG_DEBUG("(iodine) requested connection handler for "
                  "an invalid connection: %p",
                  (void *)self);
    return Qnil;
  }
  return data->info.handler;
}
static VALUE iodine_connection_handler_get ( VALUE self ) { iodine_connection_data_s * data = iodine_connection_validate_data ( self ) ; if ( ! data ) { FIO_LOG_DEBUG ( " " " " , ( void * ) self ) ; return Qnil ; } return data -> info . handler ; }
Returns the client's current callback object.
Returns the client ' s current callback object .