Home
last modified time | relevance | path

Searched refs:status_code (Results 1 – 2 of 2) sorted by last modified time

/unit/src/nodejs/unit-http/
H A Dunit.cpp794 uint32_t status_code, header_len, keys_len, array_len; in response_send_headers() local
817 status_code = napi.get_value_uint32(argv[0]); in response_send_headers()
823 ret = nxt_unit_response_init(req, status_code, keys_count, header_len); in response_send_headers()
1054 char status_code[2]; in websocket_send_frame() local
1069 status_code[0] = (sc >> 8) & 0xFF; in websocket_send_frame()
1070 status_code[1] = sc & 0xFF; in websocket_send_frame()
1072 iov[iovec_len].iov_base = status_code; in websocket_send_frame()
/unit/src/python/
H A Dnxt_python_asgi_websocket.c362 uint16_t status_code; in nxt_py_asgi_websocket_close() local
384 status_code = (code != NULL) ? htons(PyLong_AsLong(code)) in nxt_py_asgi_websocket_close()
388 1, &status_code, 2); in nxt_py_asgi_websocket_close()
492 uint16_t status_code; in nxt_py_asgi_websocket_handler() local
597 status_code = htons(NXT_WEBSOCKET_CR_MESSAGE_TOO_BIG); in nxt_py_asgi_websocket_handler()
600 1, &status_code, 2); in nxt_py_asgi_websocket_handler()
1046 uint16_t status_code; in nxt_py_asgi_websocket_done() local
1073 status_code = (rc == NXT_UNIT_OK) in nxt_py_asgi_websocket_done()
1078 1, &status_code, 2); in nxt_py_asgi_websocket_done()