Home
last modified time | relevance | path

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

/unit/src/python/
H A Dnxt_python_asgi_websocket.c258 PyObject *res, *headers, *subprotocol; in nxt_py_asgi_websocket_accept() local
302 subprotocol = PyDict_GetItem(dict, nxt_py_subprotocol_str); in nxt_py_asgi_websocket_accept()
303 if (subprotocol != NULL && PyUnicode_Check(subprotocol)) { in nxt_py_asgi_websocket_accept()
304 subprotocol_str = PyUnicode_DATA(subprotocol); in nxt_py_asgi_websocket_accept()
305 subprotocol_len = PyUnicode_GET_LENGTH(subprotocol); in nxt_py_asgi_websocket_accept()