Home
last modified time | relevance | path

Searched refs:handlers (Results 1 – 4 of 4) sorted by relevance

/unit/src/nodejs/unit-http/
H A Dwebsocket_router.js33 this.handlers = [];
87 this.handlers.push({
97 this.handlers.splice(index, 1);
106 for (var i=0, len=this.handlers.length; i < len; i++) {
107 var handler = this.handlers[i];
139 for (var j=0, len=this.handlers.length; j < len; j++) {
140 var handler = this.handlers[j];
/unit/src/
H A Dnxt_port.c162 const nxt_port_handlers_t *handlers) in nxt_port_enable() argument
166 port->data = (nxt_port_handler_t *) (handlers); in nxt_port_enable()
175 nxt_port_handler_t *handlers; in nxt_port_handler() local
183 handlers = msg->port->data; in nxt_port_handler()
184 handlers[msg->port_msg.type](task, msg); in nxt_port_handler()
H A Dnxt_port.h340 const nxt_port_handlers_t *handlers);
/unit/src/python/
H A Dnxt_python_asgi.c223 } handlers[] = { in nxt_python_asgi_ctx_data_alloc() local
266 for (i = 0; i < nxt_nitems(handlers); i++) { in nxt_python_asgi_ctx_data_alloc()
267 obj = PyObject_GetAttrString(loop, handlers[i].key); in nxt_python_asgi_ctx_data_alloc()
270 handlers[i].key); in nxt_python_asgi_ctx_data_alloc()
274 *handlers[i].handler = obj; in nxt_python_asgi_ctx_data_alloc()
278 handlers[i].key); in nxt_python_asgi_ctx_data_alloc()