Merge pull request #37 from koic/tweak_stdio_transport_example_code_in_the_readme
[Doc] Tweak stdio transport example code in the README
This commit is contained in:
commit
e901f94a3d
1 changed files with 4 additions and 5 deletions
|
|
@ -121,11 +121,10 @@ transport.open
|
|||
|
||||
You can run this script and then type in requests to the server at the command line.
|
||||
|
||||
```
|
||||
$ ./stdio_server.rb
|
||||
{"jsonrpc":"2.0","id":"1","result":"pong"}
|
||||
{"jsonrpc":"2.0","id":"2","result":["ExampleTool"]}
|
||||
{"jsonrpc":"2.0","id":"3","result":["ExampleTool"]}
|
||||
```bash
|
||||
$ ./examples/stdio_server.rb
|
||||
{"jsonrpc":"2.0","id":"1","method":"ping"}
|
||||
{"jsonrpc":"2.0","id":"2","method":"tools/list"}
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
|
|
|||
Loading…
Reference in a new issue