Skip to content

Conversation

@3m1n3nc3
Copy link
Contributor

@3m1n3nc3 3m1n3nc3 commented Nov 6, 2025

This PR provides methods for setting headers, managing status codes, sending different content types, and offering convenience helpers, along with a complete and expressive Response API that is comparable to Laravel’s response helpers, while being fully typed for TypeScript.

  • Review the existing Response implementation.
  • Add missing properties and methods.
  • Update TypeScript types and ensure strict typing.
  • Add inline JSDoc for each method.
  • Write comprehensive unit tests.
  • Verify compatibility with current kernel and middleware logic.

Closes #72

@3m1n3nc3 3m1n3nc3 merged commit 3330889 into main Nov 6, 2025
1 check passed
@3m1n3nc3 3m1n3nc3 deleted the enhance-the-response-interface-to-include-all-required-properties-and-methods branch November 6, 2025 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance the Response interface to include all required properties and methods

2 participants