Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 14 of 14) sorted by last modified time

/unit/src/python/
H A Dnxt_python_asgi.c188 init->callbacks.request_handler = nxt_py_asgi_request_handler; in nxt_python_asgi_init()
189 init->callbacks.data_handler = nxt_py_asgi_http_data_handler; in nxt_python_asgi_init()
190 init->callbacks.websocket_handler = nxt_py_asgi_websocket_handler; in nxt_python_asgi_init()
191 init->callbacks.close_handler = nxt_py_asgi_close_handler; in nxt_python_asgi_init()
192 init->callbacks.quit = nxt_py_asgi_quit; in nxt_python_asgi_init()
193 init->callbacks.shm_ack_handler = nxt_py_asgi_shm_ack_handler; in nxt_python_asgi_init()
194 init->callbacks.add_port = nxt_py_asgi_add_port; in nxt_python_asgi_init()
195 init->callbacks.remove_port = nxt_py_asgi_remove_port; in nxt_python_asgi_init()
H A Dnxt_python.c236 python_init.callbacks.ready_handler = nxt_python_ready_handler; in nxt_python_start()
H A Dnxt_python_wsgi.c198 init->callbacks.request_handler = nxt_python_request_handler; in nxt_python_wsgi_init()
/unit/src/ruby/
H A Dnxt_ruby.c362 ruby_unit_init.callbacks.request_handler = nxt_ruby_request_handler; in nxt_ruby_start()
363 ruby_unit_init.callbacks.ready_handler = nxt_ruby_ready_handler; in nxt_ruby_start()
/unit/src/
H A Dnxt_unit.c353 nxt_unit_callbacks_t callbacks; member
608 lib->callbacks = init->callbacks; in nxt_unit_create()
633 cb = &lib->callbacks; in nxt_unit_create()
1439 lib->callbacks.data_handler(req); in nxt_unit_process_req_body()
1445 lib->callbacks.request_handler(req); in nxt_unit_process_req_body()
1625 cb = &lib->callbacks; in nxt_unit_process_websocket()
1719 cb = &lib->callbacks; in nxt_unit_process_shm_ack()
5562 if (lib->callbacks.add_port == NULL) { in nxt_unit_add_port()
5767 cb = &lib->callbacks; in nxt_unit_quit()
5958 if (lib->callbacks.port_send != NULL) { in nxt_unit_port_send()
[all …]
H A Dnxt_php_sapi.c497 php_init.callbacks.request_handler = nxt_php_request_handler; in nxt_php_start()
H A Dnxt_unit.h173 nxt_unit_callbacks_t callbacks; member
H A Dnxt_java.c433 java_init.callbacks.request_handler = nxt_java_request_handler; in nxt_java_start()
434 java_init.callbacks.websocket_handler = nxt_java_websocket_handler; in nxt_java_start()
435 java_init.callbacks.close_handler = nxt_java_close_handler; in nxt_java_start()
436 java_init.callbacks.ready_handler = nxt_java_ready_handler; in nxt_java_start()
/unit/src/perl/
H A Dnxt_perl_psgi.c1165 perl_init.callbacks.request_handler = nxt_perl_psgi_request_handler; in nxt_perl_psgi_start()
1166 perl_init.callbacks.ready_handler = nxt_perl_psgi_ready_handler; in nxt_perl_psgi_start()
/unit/go/
H A Dnxt_cgo_lib.c27 init.callbacks.request_handler = nxt_go_request_handler; in nxt_cgo_run()
28 init.callbacks.add_port = nxt_go_add_port; in nxt_cgo_run()
29 init.callbacks.remove_port = nxt_go_remove_port; in nxt_cgo_run()
30 init.callbacks.port_send = nxt_cgo_port_send; in nxt_cgo_run()
31 init.callbacks.port_recv = nxt_cgo_port_recv; in nxt_cgo_run()
32 init.callbacks.shm_ack_handler = nxt_go_shm_ack_handler; in nxt_cgo_run()
33 init.callbacks.ready_handler = nxt_go_ready; in nxt_cgo_run()
/unit/src/test/
H A Dnxt_unit_app_test.c57 init.callbacks.request_handler = greeting_app_request_handler; in main()
58 init.callbacks.ready_handler = ready_handler; in main()
H A Dnxt_unit_websocket_chat.c218 init.callbacks.request_handler = ws_chat_request_handler; in main()
219 init.callbacks.websocket_handler = ws_chat_websocket_handler; in main()
220 init.callbacks.close_handler = ws_chat_close_handler; in main()
H A Dnxt_unit_websocket_echo.c93 init.callbacks.request_handler = ws_echo_request_handler; in main()
94 init.callbacks.websocket_handler = ws_echo_websocket_handler; in main()
/unit/src/nodejs/unit-http/
H A Dunit.cpp269 unit_init.callbacks.request_handler = request_handler_cb; in create_server()
270 unit_init.callbacks.websocket_handler = websocket_handler_cb; in create_server()
271 unit_init.callbacks.close_handler = close_handler_cb; in create_server()
272 unit_init.callbacks.shm_ack_handler = shm_ack_handler_cb; in create_server()
273 unit_init.callbacks.add_port = add_port; in create_server()
274 unit_init.callbacks.remove_port = remove_port; in create_server()
275 unit_init.callbacks.quit = quit_cb; in create_server()