Python中的tcp套接字客户端如何与uwsgi对话?
我的架构是
tcp套接字客户端 -> nginx -> uwsgi
tcp 套接字客户端 -> uwsgi
最佳答案
通过与套接字对话uwsgi
协议(protocol)。该协议(protocol)描述为here in the uWSGI documentation .
Python 文档包含 a decent tutorial regarding TCP and Unix sockets here .
编辑:参见https://github.com/akx/uwsgi-socket-example一个工作示例。
关于python - python中的tcp套接字客户端如何与uwsgi对话?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45834465/