summaryrefslogtreecommitdiff
path: root/plugins/python/asgi_subhandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/python/asgi_subhandler.c')
-rw-r--r--plugins/python/asgi_subhandler.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/python/asgi_subhandler.c b/plugins/python/asgi_subhandler.c
index 24a9e3b0..266474be 100644
--- a/plugins/python/asgi_subhandler.c
+++ b/plugins/python/asgi_subhandler.c
@@ -2,7 +2,16 @@
extern struct uwsgi_server uwsgi;
extern struct uwsgi_python up;
-extern PyTypeObject uwsgi_InputType;
+
+
+/*
+
+TODO:
+
+define a new type ASGIReplyChannl exposing a send() method
+calling the write protocol hook
+
+*/
void *uwsgi_request_subhandler_asgi(struct wsgi_request *wsgi_req, struct uwsgi_app *wi) {