diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2021-12-07 12:26:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-07 12:26:48 -0500 |
| commit | 9e666a332aafeffdc15ceab6017fe377144a928b (patch) | |
| tree | 4d5a27b5286cb95757ad45f097f4acf74dfb2159 /tools/slang-test/test-context.cpp | |
| parent | ef4ee0b2d42b1fe9ce36c67526cf853343d98ea0 (diff) | |
Support array args for JSON-RPC (#2046)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Add ability to send/receive JSON-RPC params optionally as an array.
* More array conversions to json-native.
* Simplified setting up of 'CallStyle' on JSONRPCConnection.
* Small simplification in JSONRPCConnection.
* Small improvements around JSON-RPC connection.
* Improve some comments.
Kick CI build.
Diffstat (limited to 'tools/slang-test/test-context.cpp')
| -rw-r--r-- | tools/slang-test/test-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/slang-test/test-context.cpp b/tools/slang-test/test-context.cpp index 2f0e23815..d5af41a78 100644 --- a/tools/slang-test/test-context.cpp +++ b/tools/slang-test/test-context.cpp @@ -128,7 +128,7 @@ SlangResult TestContext::_createJSONRPCConnection(RefPtr<JSONRPCConnection>& out RefPtr<HTTPPacketConnection> connection = new HTTPPacketConnection(readStream, writeStream); RefPtr<JSONRPCConnection> rpcConnection = new JSONRPCConnection; - SLANG_RETURN_ON_FAIL(rpcConnection->init(connection, process)); + SLANG_RETURN_ON_FAIL(rpcConnection->init(connection, JSONRPCConnection::CallStyle::Default, process)); out = rpcConnection; |
