We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Need to have an API to cancel calls by client.
When call is cancelled, RST_STREAM is sent.
RST_STREAM
Client needs an API to cancel calls, and server needs an API to be notified of cancelled call.
One idea is that start_request should have additional Context param:
start_request
Context
fn start_request(&self, context: Context, headers: Headers, req: HttpPartStream) -> Response; struct Context(...); impl Context { fn new() -> Context { ... } // for client fn cancel(&self) { ... } // for the server to subscribe for cancel fn wait_cancel(&self) -> HttpFutureSend<()> { ... } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Need to have an API to cancel calls by client.
When call is cancelled,
RST_STREAM
is sent.Client needs an API to cancel calls, and server needs an API to be notified of cancelled call.
One idea is that
start_request
should have additionalContext
param:The text was updated successfully, but these errors were encountered: