Comments (1)
Hey, I don't think so. HyperExpress wraps uWebsockets.js. If you can find a comparable method on the uWS.HttpResponse
instance, then you can use Response.raw.xxx
to call that method as needed.
If you end up finding the method on uWS.HttpRequest
then things can be a bit more complicated since uWS deallocates HttpRequest after first execution. Even in this case, what you could do is bind a global middleware as early as possible after Server
construction and then access the Request.raw
property inside of that middleware synchronously and cache the result on the Request
property.
from hyper-express.
Related Issues (20)
- From version 6.0.0, the response component doesn´t call a close or abort event when the SSE client is closed HOT 1
- Nest-hyper-express-adapter middleware tests failing HOT 4
- Nest-hyper-express instance and local-pipes tests each fail one test HOT 3
- Outdated example of static serving / LiveDirectory HOT 1
- Error: uWS.HttpResponse must not be accessed after uWS.HttpResponse.onAborted callback HOT 1
- Graceful shutdown HOT 4
- Static serving HOT 1
- No error on binding to the same port HOT 1
- No Socket Received From uWebsockets.js likely due to an invalid host or busy port. HOT 2
- Optional Parameter Route HOT 2
- Read JSON as raw HOT 4
- Listen on IPv6 by default HOT 1
- v6.15.0 introduces breaking changes with the new server.listen unix socket method HOT 1
- Get Hyper-Express to feature parity with Express HOT 2
- missing Promise return type on shutdown HOT 1
- run on aws lambda HOT 1
- Vite middleware support: Request type missing export and `.originalUrl` method & `url` setting HOT 7
- Middleware goes beyond the Router HOT 3
- hyper-express subdomains 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.