-
-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support a way to set headers and body before the client is started #16
Comments
You can pass the headers and body you want your request to be built with as options to autocannon already, and they are passed to the clients. Do you want to add an extra method of passing the headers and body to the clients? |
The use case is "I want a custom header for each client". |
GlenTiki
added a commit
to GlenTiki/autocannon
that referenced
this issue
Jun 24, 2016
…ests per connection
Released as 0.6.0. |
My bad, wrong issue. |
mcollina
added a commit
that referenced
this issue
Jun 25, 2016
Fixed #16: can now pass customiseRequest to build custom requests per connection
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe we can pass in a function that returns an object, or a function that accepts a client.
What do you think @thekemkid?
The text was updated successfully, but these errors were encountered: