Michael Lumish
71853407a4
Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.10.x' into grpc-js_1.10.x_upmerge
2024-05-28 13:34:05 -07:00
Michael Lumish
6c2bc599e5
grpc-js: Run code formatter, fix one lint error
2024-02-27 12:51:38 -08:00
Michael Lumish
321b6603b0
grpc-js: Add Server#createConnectionInjector API
2024-02-22 16:52:56 -08:00
Michael Lumish
a1fde62101
grpc-js: Expand ServerCredentials API to support watchers
2024-02-09 14:33:13 -08:00
Michael Lumish
3915f579f2
Merge 1.9.x into master
2024-01-17 14:28:31 -08:00
Michael Lumish
3a16187451
grpc-js: Implement server drain method
2023-11-14 14:37:13 -08:00
Michael Lumish
66f972cb87
grpc-js: Implement unbind
2023-11-10 14:58:21 -08:00
Michael Lumish
976567395e
grpc-js: Deprecate Server#start
2023-10-16 15:16:58 -07:00
Michael Lumish
1d38cc319c
Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.8.x' into v1.8.x_upmerge_3
2023-07-28 14:53:43 -07:00
Michael Lumish
4e111e7792
grpc-js: Fix propagation of UNIMPLEMENTED error messages
2023-07-28 14:21:33 -07:00
Michael Lumish
220a70289c
Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.8.x' into v1.18.x_upmerge
2023-07-13 14:14:29 -07:00
Michael Lumish
713a2c9bd1
grpc-js: Enable the noUnusedLocals TypeScript compiler option
2023-07-12 15:22:15 -07:00
Dan Rumney
cd24d6956d
style: run eslint fix on codebase
...
Fixes #2464
2023-06-15 13:04:57 -05:00
Michael Lumish
b3b6310f04
grpc-js: Don't end calls when receiving GOAWAY
2023-01-10 15:24:22 -08:00
Michael Lumish
07b73ad129
grpc-js: Add a test for compressing large messages
2022-06-07 11:07:47 -07:00
Michael Lumish
575c2004f3
Skip some tests to make the Linux test job green
2021-12-06 12:02:52 -05:00
Robert
96ae102eaf
fix path for loading test_service proto
2021-11-05 19:59:03 -07:00
Robert
c4d7fab13e
simplify compression filter handling of server supported encoding headers
2021-11-02 19:17:44 -07:00
Robert
7a31b4a65a
change test to use write instead of _write
2021-10-26 14:03:14 -07:00
Robert
d68d94a5f4
re-enable NoCompress flag behavior and check Compressed Flag byte on server
2021-10-25 20:21:48 -07:00
Robert
af010071fe
have client restore default sendCompression if server doesnt support compression, and fix test file generation
2021-10-25 19:43:40 -07:00
Robert
cec7e64a2b
cleanup test file
2021-10-24 22:21:24 -07:00
Robert
7aa5b62008
grpc-js: Allow per-channel request compression from the client and decompression from the server
2021-10-24 21:46:23 -07:00
murgatroid99
af1676a5a5
Add test for passing client credentials to server
2021-07-16 16:39:26 -07:00
murgatroid99
9e4039d86b
Updated text in bindAsync error test
2021-07-16 10:45:40 -07:00
Daniel Shmuglin
51ca00298e
implement Server#unregisterService(serviceDefinition)
2020-10-29 11:33:29 +02:00
Daniel Shmuglin
7c3ccda8ff
implement Server#unregister(handlerName)
2020-10-29 10:54:33 +02:00
Daniel Shmuglin
e49524a2ba
Server#addService - lift the limitation of adding a new service to started server
2020-10-29 10:24:31 +02:00
Michael Lumish
1fc284f59d
Revert "fix(grpc-js): Add support for impl type to server.addService"
2020-09-02 15:17:57 -07:00
Slavo Vojacek
fba1ee0cc3
fix(grpc): Fix typings
2020-09-02 20:32:31 +01:00
Slavo Vojacek
38e988ea03
fix(grpc-js): Add support for impl type to server.addService
2020-08-31 20:34:14 +01: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
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
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
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