Michael Lumish
b05caec567
Merge branch 'master' into name_resolution_load_balancing
2019-09-23 11:03:25 -07:00
Bjorn Stromberg
fc032c0226
grpc-js: Update gts and apply fixes
2019-09-13 12:31:33 +09:00
murgatroid99
049da7e058
Add session.socket to ClientHttp2StreamMock in tests
2019-09-06 14:58:42 -07:00
murgatroid99
b4d848865d
Lint fixes
2019-08-28 18:04:43 -07:00
murgatroid99
01977e6e08
Add documentation and error handling
2019-08-28 17:06:14 -07:00
Bjorn Stromberg
110461d78a
Add dev-dependencies and fix tests so they exit after running
2019-08-06 15:01:31 +09:00
cjihrig
00b091a1b1
grpc-js: shutdown improvements
...
This commit maintains a Set of all active sessions. This allows
tryShutdown() to gracefully stop the server properly (as
recommended in the Node HTTP2 documentation). The same Set of
sessions also allows forceShutdown() to be implemented.
2019-06-25 14:04:21 -04:00
cjihrig
4399131bf9
grpc-js: fix lint
...
This commit makes the linter pass again.
2019-06-25 13:53:37 -04:00
cjihrig
0b4fd1365a
grpc-js: expose Server implementation publicly
...
This commit exposes the pure JS Server as public API.
2019-06-25 13:53:37 -04:00
Michael Lumish
5b187ba5e8
Merge pull request #908 from murgatroid99/pure_js_goaway_handling
...
Pure JS: Fixed two bugs with goaway handling
2019-06-07 10:02:13 -07:00
murgatroid99
1ee218c8bd
Fix tests for fixed code, also fix another issue
2019-06-06 10:38:28 -07:00
cjihrig
a4b3a7fbae
grpc-js: reject invalid Content-Type requests
...
This commit implements the following portion of the spec:
If Content-Type does not begin with "application/grpc",
gRPC servers SHOULD respond with HTTP status of
415 (Unsupported Media Type). This will prevent other
HTTP/2 clients from interpreting a gRPC error response,
which uses status 200 (OK), as successful.
2019-06-04 12:02:08 -04:00
cjihrig
f30a5d8588
grpc-js: support client cancellation
...
This commit adds client cancellation support and tests for
cancellation and deadlines.
2019-05-20 13:38:35 -04:00
cjihrig
be6bdb8c3d
grpc-js: update to gts@1.x.x
...
This commit updates the gts dependency to 1.x.x.
2019-05-17 17:03:04 -04:00
cjihrig
a7372e2b1c
grpc-js: slight cleanup of server imports/exports
...
This commit removes some unnecessary imports and exports
from the server code.
2019-05-17 12:14:27 -04:00
cjihrig
1aa11525fd
grpc-js: add bidirectional streaming RPC support
...
This commit adds bidi streaming RPC support to the server.
2019-05-16 11:23:54 -04:00
cjihrig
b8af8c9474
grpc-js: add client streaming RPC support
...
This commit adds client streaming RPC support.
2019-05-07 14:23:34 -04:00
cjihrig
79544366be
grpc-js: support unary and server streaming rpcs
...
This commit adds support for unary and server streaming RPCs.
2019-05-02 21:40:45 -04:00
cjihrig
62e7f0c85a
grpc-js: define Server API contract
...
This commit defines the Server API contract, and implements
the Server functionality, minus the actual handling of requests.
2019-04-10 15:35:40 -04:00
cjihrig
1cfe05ba46
grpc-js: update dependency versions
...
Update grpc-js to the latest version of all dependencies.
2019-04-08 21:00:57 -04:00
cjihrig
40eef7af22
grpc-js: add ServerCredentials support
...
This commit adds ServerCredentials to the pure JS implementation.
2019-04-01 20:13:24 -04:00
Nicolas "Pixel" Noble
6bc7184542
Adding missing license on a bunch of source files.
2019-03-19 01:06:57 +01:00
murgatroid99
d5fc72bd5c
Add missing properties to ClientHttp2StreamMock
2018-11-14 14:28:38 -08:00
cjihrig
65bd142114
grpc-js: rename grpc-js-core to match npm
...
This commit renames grpc-js-core to grpc-js to more closely
match the name used on npm.
2018-11-01 16:56:57 -04:00