Creates a opak handler.
Creates a opak handler.
If on the inside level nobody answers, it just returns NULL, so ->next can answer.
- Parameters
-
path | Path of the current data, for example /. It is a normal string; no regular expressions are allowed. |
render | Function to call to render the response. |
length | Lenght of the data, or 0 if unknown. Needed to keep alive. |
References onion_handler_opack_data_t::length, onion_handler_t::onion_handler_new(), onion_handler_opack_delete(), onion_handler_opack_handler(), onion_low_malloc(), onion_low_strdup(), onion_handler_opack_data_t::path, and onion_handler_opack_data_t::render.