Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

docs: Add examples, documentation, and README updates #128

Merged
merged 1 commit into from
Mar 19, 2025

Conversation

jaquelineabreu
Copy link
Collaborator

  • Added ExampleNew to demonstrate maxbody.New() usage.
  • Added ExampleMaxBytesReader to showcase MaxBytesReader() implementation.
  • Updated README with explanations and key differences between maxbody.New() and MaxBytesReader().
  • Included a simple example using maxbody.New() for global request body size enforcement.
  • Added an advanced example with MaxBytesReader() for additional request validation.
  • Improved documentation and code comments for better clarity.

- Added ExampleNew to demonstrate maxbody.New() usage.
- Added ExampleMaxBytesReader to showcase MaxBytesReader() implementation.
- Updated README with explanations and key differences between maxbody.New() and MaxBytesReader().
- Included a simple example using maxbody.New() for global request body size enforcement.
- Added an advanced example with MaxBytesReader() for additional request validation.
- Improved documentation and code comments for better clarity.
@jeffotoni jeffotoni merged commit 757a8a1 into main Mar 19, 2025
1 check passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants