Provides a convenient fixture for running a web server.
Please see the project documentation for more details.
- Getting Started - This guide explains how to use the
sus-fixtures-async-http
gem to test HTTP clients and servers.
Please see the project releases for all releases.
- Add agent context.
- 100% documentation coverage.
- Remove unused outer server task.
- Make it easier to override endpoint options like
timeout
. - Remove default connection timeout.
- Remove default connection timeout.
- Add optional
after(error)
argument. - Add Getting Started guide.
- Add a timeout to prevent hangs during
@client.close
.
- Don't depend on
async-io
directly.
- Pass through the timeout.
- Expose
make_client
similar tomake_server
.
- Fix
make_server
to use endpoint argument.
We welcome contributions to this project.
- Fork it.
- Create your feature branch (
git checkout -b my-new-feature
). - Commit your changes (
git commit -am 'Add some feature'
). - Push to the branch (
git push origin my-new-feature
). - Create new Pull Request.
In order to protect users of this project, we require all contributors to comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.