This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-core/tests/scripts/introspect.sh
Michael Zanetti 5e3bc2acbd Drop JsonTypes class by distributing logic to json handlers
This is required in order to be able to be more flexible in registering
new types/methods.
2019-11-01 20:46:55 +01:00

14 lines
176 B
Bash
Executable File

#!/bin/bash
if [ -z $1 ]; then
echo "usage: $0 host"
exit 1
fi
cat << EOD | nc $1 2222
{"id":0, "method": "JSONRPC.Hello"}
{"id":1, "method": "JSONRPC.Introspect"}
EOD