-
Notifications
You must be signed in to change notification settings - Fork 280
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
Consider adding an argument to NewService
#108
Comments
If this change is done, the best way to go about it will probably be to represent To ease usage of this trait, the main "tower" crate can have a Also, what do people think about renaming The main problem I have is, what does this return:
Does it return
Thoughts @seanmonstar @olix0r? |
The name |
To change |
There's also |
@seanmonstar yes, I think |
We did this in #114. |
This has been requested in the past by @olix0r.
Doing so would allow providing additional context. Given that
NewService
is most often called to process a new connection, the argument could be used to pass connection level data for the service to consume.Ideas:
The text was updated successfully, but these errors were encountered: