-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Initial push to add tower based clients #1915
Conversation
Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
type Request = Request<B>; | ||
type Response = Response; | ||
type Error = ::Error; | ||
impl<B> Service<Request<B>> for SendRequest<B> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am thinking we should rename this to Connection<B>
and Background<T, B>
for the old Connection
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm undecided. Is there an issue with the current naming?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel that Service1<Service2<Connection<Request>>>
seems much better than Service1<Service2<SendRequest<Request>>>
thats really it.
@seanmonstar Ok, I think this is ready all deps brought in are published as well. I think this supports the most minimal api I need. |
@LucioFranco does it build with |
@DoumanAsh yes |
Still WIP, need to get crates out for MakeService and MakeConnection.
This mainly introduces the most minimal change to support tower based clients.
cc @seanmonstar