Skip to content

Create WSGI middleware #1260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Archmonger opened this issue Jan 27, 2025 · 0 comments
Open

Create WSGI middleware #1260

Archmonger opened this issue Jan 27, 2025 · 0 comments
Labels
priority-2-moderate Should be resolved on a reasonable timeline.

Comments

@Archmonger
Copy link
Contributor

Archmonger commented Jan 27, 2025

Current Situation

We have a PR that added ASGI middleware. This PR did not include WSGI middleware to limit scope. However, it is technologically possible for us to run on WSGI.

Proposed Actions

Add WSGI support to ReactPy, which will involve utilizing the simple_websocket package for websocket communication.

We used to have this support for WSGI in our legacy flask backend. WSGI middleware design might take some inspiration from this legacy design.

We will need a cross-platform wsgi webserver for our test suite, but they are unfortunately kind of rare. We might be able to use fastwsgi if it supports simple_websocket.

@Archmonger Archmonger added priority-2-moderate Should be resolved on a reasonable timeline. type-feature labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-2-moderate Should be resolved on a reasonable timeline.
Projects
None yet
Development

No branches or pull requests

1 participant