metarhia/jstp

#81 discussion follow-up and request for comments

aqrln opened this issue · 8 comments

aqrln commented

After some discussion with @belochub about #81 we came to conclusion that we don't actually need sent messages count in both handshake request and response, only received ones.

/cc @lundibundi @Gagnant @GYFK @lidaamber

Ok with me, that was actually the question when i asked about them.

aqrln commented

@lundibundi thanks for the feedback and for noticing a redundancy in the specs we prepared.
@Gagnant we need you approval to do this since you're a member of Session WG too and we don't want to break the iOS client :)

Also agree with the changes

aqrln commented

@Gagnant great.

Hence I propose to update the handshake format like this:

Request Response
{ handshake: [0, 'appName'], session: ['sessionId', receivedCount] } { handshake: [0], ok: receivedCount }

Note the absence of square brackets around receivedCount in the second case. @belochub, @lundibundi, @Gagnant, does this LGTY?

LGTM, can't wait to start using this feature.

LGTM

LGTM

aqrln commented

Refs: #35