Comments (2)
Hi. Sanic doesn't do gRPC natively and is not part of our plan at this time.
from sanic.
They are completely incompatible, and need to run on different ports. You can use a HTTP proxy like Caddy to join both services together on your public HTTPS server on the same domain on port 443, as Caddy will serve it using all HTTP versions and thus is also compatible with gRPC (that typically uses HTTP/2, not at all supported on Sanic because we skipped over to H3).
from sanic.
Related Issues (20)
- New websockets, handling disconnects HOT 2
- Introduce ruff execution on the examples and scripts folder HOT 2
- Introduce ruff execution on the tests folder
- (websockets 12.0) DeprecationWarning: websockets.connection was renamed to websockets.protocol and Connection was renamed to Protocol HOT 3
- Bolster performance of test suite execution HOT 9
- Introduce ruff execution on the guides folder
- all workers are being blocked through the use of Unix sockets HOT 5
- Sanic hangs for around 20 seconds after every 3 minutes HOT 4
- Can't use optional CLI arguments HOT 4
- Error: aborted in sanic 23.12 HOT 2
- 使用注入的方式封装获取的json数据,结果是空的
- SERVER_EXCEPTION_REPORT signal handler does not get passed app positional, docs discrepancy HOT 2
- Multiplexer and Manager out of sync on number of expected arguments HOT 1
- INSPECTOR worker may handle HTTP request unexpectly when `Sanic.start_method="fork"` and `INSPECTOR=True`
- DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14 HOT 1
- CLI: Terminal becomes no-echo if not entering REPL mode or exiting without Ctrl+D HOT 3
- Trusted proxies HOT 2
- Sanic stops working after trying to open a WS connection HOT 1
- How can I use the Response streaming technique in a POST method? HOT 2
- Shutdown never finishes when background tasks are cancelled but need some time to finish
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sanic.