socketify.py
socketify.py copied to clipboard
Bringing Http/Https and WebSockets High Performance servers for PyPy3 and Python3
A basic deployment on AWS shows that socketify consumes 0.11-0.12 cpus while idle. The same applies locally while other applications almost don't consume any cpu at all.
Hi, May I know how to enable CORS in Socketify? I am trying to add any CORS using middleware but it seems doesn't work at all. ```python async def cors_middleware(req,...
Hello, one feature that would greatly improve developer experience is Python side hot reloading. I remember seeing somewhere that there is an issue for doing this with libuv. Until you...
Hey, thanks for making socketify. I have been using it a little while and it works great. I have some suggestions for improvement. At the moment exceptions are logged as...
**Is your feature request related to a problem? Please describe.** I would create a background task to do some timerized operation i.e. periodical send some data update to all clients...
**Describe the bug** I've tried flask with many other wsgi servers without any problems, but running the same application with socketify as follows, causes the app to receive query string...
**Is your feature request related to a problem? Please describe.** Methods related to client's request (`get_json`, `get_text`, `get_data`) are inexplicably methods of AppResponse instead of AppRequest. The AppRequest presumably refers...
The API docs at https://docs.socketify.dev/api.html don't describe the parameters or what the methods do.
**Describe the bug** My app crashes while doing load test **To Reproduce** Here is my code ```python from socketify import App, Request, Response app = App() async def hello(res: Response,...
I am building an application that makes lots of small requests and need really fast responses. HTTP/2 would be amazing for this and since I am already using the websocket...