Deleted Added
1
2/*
3 * Copyright (C) NGINX, Inc.
4 */
5
6
7#include <python/nxt_python.h>
8

--- 110 unchanged lines hidden (view full) ---

119 { nxt_string("websocket.receive"), &nxt_py_websocket_receive_str },
120 { nxt_string("websocket.send"), &nxt_py_websocket_send_str },
121 { nxt_string("ws"), &nxt_py_ws_str },
122 { nxt_string("wss"), &nxt_py_wss_str },
123 { nxt_null_string, NULL },
124};
125
126
127int
128nxt_py_asgi_str_init(void)
129{
130 return nxt_python_init_strings(nxt_py_asgi_strings);
131}
132
133
134void
135nxt_py_asgi_str_done(void)
136{
137 nxt_python_done_strings(nxt_py_asgi_strings);
138}
139
140
141#endif /* NXT_HAVE_ASGI */