Comments (1)
The Response._cork
property is assigned in the Server.js
file after calling Route.handle()
here
hyper-express/src/components/Server.js
Line 530 in e98212e
The purpose of this property is to let the Response
initiating method(s) know whether the uWS.HttpResponse
needs to be corked or not as required by uWebsockets.js
If the the response has not been completed
after calling route.handle()
then we know for a fact that whatever middlewares / handlers were executed with route.handle()
are doing some asynchronous work and did not send a response hence we need to cork in the future when do send a response.
from hyper-express.
Related Issues (20)
- can't serve port 80 hyper-express reverse proxy nginx HOT 1
- Throwing error in Middleware causes app to crash HOT 6
- How to read base64 image from multipart HOT 1
- Specify QoS for MQTT syntax HOT 2
- Install hyper-express with PNPM behind a corporate firewall HOT 1
- middleware not executing after request is complete HOT 2
- Path parameter regexp HOT 5
- How to integrate with supertest HOT 1
- uWebSockets.js Adds Node.js 22 support HOT 4
- This version of ยตWS is not compatible with your Node.js build HOT 2
- Is it possible to use hyper-express with Bun? HOT 1
- Why duplicate routes are not allowed? HOT 2
- Router Spread Middleware Execution Order Inconsistency HOT 4
- Http version 1.0 not supported HOT 2
- Streaming big files causes random chunk duplication HOT 16
- Issue in configure a multer middleware. HOT 2
- Socket.IO with hyper-express not working: req.getUrl is not a function HOT 1
- Make it compatible with Bun. HOT 1
- Does hyper-express support or will support the addChildAppDescriptor from /examples/WorkerThreads.js HOT 1
- Middleware: Performing actions after response completes HOT 1
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 hyper-express.