-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Moved to 0.5.2 - In some cases you may call Subscribe on an active peer after frames have been received, for simplicitly you can now use the SubscriptionOptions.Flush option to cause any frames in the queue to be dequeued and sent to the observer
- Loading branch information
1 parent
8f20d5b
commit a7f3099
Showing
4 changed files
with
53 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace ProtoSocket | ||
{ | ||
/// <summary> | ||
/// Defines the subscription options. | ||
/// </summary> | ||
[Flags] | ||
public enum SubscriptionOptions | ||
{ | ||
/// <summary> | ||
/// No extra options. | ||
/// </summary> | ||
None = 0, | ||
|
||
/// <summary> | ||
/// Flushes any frames in the receive queue and calls <see cref="IObserver{T}.OnNext(T)"/>. | ||
/// </summary> | ||
Flush = 1 | ||
} | ||
} |