curveball / core

The Curveball framework is a TypeScript framework for node.js with support for modern HTTP features.
https://curveballjs.org/
MIT License
526 stars 7 forks source link

Simpler Request and Response implementations #95

Closed evert closed 5 years ago

evert commented 5 years ago

Instead of making the Request and Response objects interfaces, they are becoming abstract classes, which means that the subclasses don't need to re-implement all the plumbing.

Perhaps an even better way to do this would have been composition, but this seems like a good step forward.