How to add A custom reponse object type?
Problem
How can I makemy response object of a custom type?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: How to add A custom reponse object type?
Currently the request and response objects are from Node.js and subclasses to be Express. You can change this, and I can provide an example, but just need more information about what you are trying to do, exactly, so I can provide an example for you.
Trust Score
1 verification
- 1
Currently the request and response objects are from Node.js and subclasses to be
Currently the request and response objects are from Node.js and subclasses to be Express. You can change this, and I can provide an example, but just need more information about what you are trying to do, exactly, so I can provide an example for you.
Validation
Resolved in expressjs/express GitHub issue #4456. Community reactions: 0 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep