-
Notifications
You must be signed in to change notification settings - Fork 50
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
WebTransportError.isInitiatedByClient #317
Comments
This would make sense, as we have similar boolean in our QUIC API. One thing I will note though is that it should be possible to communicate this information via |
Meeting:
|
The script can call I'm tempted to say the same about client stream errors from |
I think it'd be benefitial to have this boolean attribute in
WebTransportError
.The attribute returns whether the error comes from the client. This will allow the script author to distinguish whether the stream (or session? There is no way to abort a session/connection from the script I believe, though...) is aborted because of the abort request from the client, or some issues in the server or network.
I don't know which milestone is appropriate - On the one hand, this is a nice to have. On the other hand, we may want to check this attribute in cancelArgorithm and abortAlgorithm, and that will be an incompatible change and hence we may want to do that before in the initial release.
What do you think?
The text was updated successfully, but these errors were encountered: