Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Issue 309503005: Convert json_rpc.Server to take a Stream and StreamSink. (Closed)

Created:
6 years, 6 months ago by nweiz
Modified:
6 years, 6 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Convert json_rpc.Server to take a Stream and StreamSink. R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=37012

Patch Set 1 #

Total comments: 10

Patch Set 2 : code review #

Patch Set 3 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+365 lines, -135 lines) Patch
M pkg/json_rpc_2/CHANGELOG.md View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M pkg/json_rpc_2/lib/src/server.dart View 1 2 4 chunks +115 lines, -25 lines 0 comments Download
M pkg/json_rpc_2/lib/src/utils.dart View 1 chunk +21 lines, -0 lines 0 comments Download
M pkg/json_rpc_2/pubspec.yaml View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/json_rpc_2/test/server/batch_test.dart View 5 chunks +9 lines, -20 lines 0 comments Download
M pkg/json_rpc_2/test/server/invalid_request_test.dart View 4 chunks +9 lines, -9 lines 0 comments Download
M pkg/json_rpc_2/test/server/server_test.dart View 10 chunks +40 lines, -68 lines 0 comments Download
A pkg/json_rpc_2/test/server/stream_test.dart View 1 2 1 chunk +98 lines, -0 lines 0 comments Download
M pkg/json_rpc_2/test/server/utils.dart View 2 chunks +55 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/web_socket_api.dart View 1 2 2 chunks +4 lines, -8 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
nweiz
6 years, 6 months ago (2014-05-30 00:47:33 UTC) #1
Bob Nystrom
This seems like a lot more complexity without that much value (at least, not that's ...
6 years, 6 months ago (2014-06-03 22:26:14 UTC) #2
nweiz
As we discussed in-person, the primary motivation behind this new API is to have the ...
6 years, 6 months ago (2014-06-03 23:37:00 UTC) #3
Bob Nystrom
On 2014/06/03 23:37:00, nweiz wrote: > As we discussed in-person, the primary motivation behind this ...
6 years, 6 months ago (2014-06-04 16:40:43 UTC) #4
Bob Nystrom
lgtm https://codereview.chromium.org/309503005/diff/1/pkg/json_rpc_2/lib/src/server.dart File pkg/json_rpc_2/lib/src/server.dart (right): https://codereview.chromium.org/309503005/diff/1/pkg/json_rpc_2/lib/src/server.dart#newcode91 pkg/json_rpc_2/lib/src/server.dart:91: /// `WebSocket`), [responses] may be omitted. On 2014/06/03 ...
6 years, 6 months ago (2014-06-04 16:40:48 UTC) #5
nweiz
https://codereview.chromium.org/309503005/diff/1/pkg/json_rpc_2/lib/src/server.dart File pkg/json_rpc_2/lib/src/server.dart (right): https://codereview.chromium.org/309503005/diff/1/pkg/json_rpc_2/lib/src/server.dart#newcode91 pkg/json_rpc_2/lib/src/server.dart:91: /// `WebSocket`), [responses] may be omitted. On 2014/06/04 16:40:48, ...
6 years, 6 months ago (2014-06-04 20:33:50 UTC) #6
nweiz
6 years, 6 months ago (2014-06-04 20:40:52 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r37012 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698