Keep-alive message causes an exception #83
BruceCarson
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
Hello @BruceCarson , seems fine to me, could you provide PR with the change? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Update: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using a websocket service that uses a single newline character "\n" as a keep-alive message. However on send, Websocket.Client throws an exception. I receive the keep-alives FROM the server (also "\n") with no issues.
Is there any problem with changing the ValidateInput(string value, string name) to using:
string.IsNullOrEmpty(value)
instead of:
string.IsNullOrWhitespace(value)
If there is no problem, could you change in the next version?
Beta Was this translation helpful? Give feedback.
All reactions