-
Notifications
You must be signed in to change notification settings - Fork 126
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
Added support subprotocols derived from WebSocket #125
base: master
Are you sure you want to change the base?
Conversation
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.
Sorry for the delay, totally missed notification about this PR.
Can you please process the review comments?
/// <summary> | ||
/// Validate if an incoming message is from sub-protocol | ||
/// </summary> | ||
Predicate< string> IsSubprotocolMessage { get; set; } |
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.
Where is this used?
@@ -1,7 +1,7 @@ | |||
using System; | |||
|
|||
// ReSharper disable once CheckNamespace | |||
namespace Websocket.Client.Models |
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.
This is a breaking change, put it back or we will need to deploy it under version 5.x
.
@@ -41,6 +40,34 @@ public partial class WebsocketClient : IWebsocketClient | |||
private readonly Subject<ReconnectionInfo> _reconnectionSubject = new Subject<ReconnectionInfo>(); | |||
private readonly Subject<DisconnectionInfo> _disconnectedSubject = new Subject<DisconnectionInfo>(); | |||
|
|||
|
|||
/// <summary> | |||
/// |
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.
Comments please
Added support subprotocols derived from WebSocket such as PrimusJs