Skip to content
Browse files

Added opaque_id property to ISPDY.

Users of ISPDY can use this property to distinguish connections and
choose to ignore connection errors on an old connection if a new
connection has already been established.
  • Loading branch information...
1 parent d901453 commit a67f6a019252b3b50543d63bcf81ead744b8d1b2 @georgekola georgekola committed Jan 31, 2014
Showing with 10 additions and 0 deletions.
  1. +10 −0 include/ispdy.h
10 include/ispdy.h
@@ -340,6 +340,16 @@ typedef void (^ISpdyPingCallback)(ISpdyPingStatus status, NSTimeInterval rtt);
@property (readonly) ISpdyState state;
+ * a uint32_t that a user of ISPDY can set to keep track
+ * of the connection.
+ * One simple way is to assign monotically increasing numbers to the connection
+ * This way, on a connection timeout, client can ignore the call back if it has
+ * already opened another connection
+ */
+@property (nonatomic) uint32_t opaque_id;
* Initialize connection to work with specified protocol version.

0 comments on commit a67f6a0

Please sign in to comment.
Something went wrong with that request. Please try again.