dotnet / dotnet/dotnet-api-docs
Exceptions for `WebSocket.SendAsync(..)` are not mentioned
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
Hi Team,
https://docs.microsoft.com/en-us/dotnet/api/system.net.websockets.websocket.sendasync?view=net-6.0 does not mention any exceptions. However, there are cases when `SendAsync(..)` overloads can throw exceptions:
* https://github.com/dotnet/runtime/blob/a4a6d30517b5b141b3934814100dfb5f20f07d5d/src/libraries/System.Net.WebSockets/src/System/Net/WebSockets/ManagedWebSocket.cs#L238-L241
* https://github.com/dotnet/runtime/blob/a4a6d30517b5b141b3934814100dfb5f20f07d5d/src/libraries/System.Net.WebSockets/src/System/Net/WebSockets/ManagedWebSocket.cs#L264
a probably many more. Are the exceptions documented somewhere or is it a "bug" in documentation?
Regards
Contributor guide
Assessment
This issue has not been assessed yet.