Skip to content

Frigyes309/ProxyNoise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use after clonging the repository

1. Open the terminal and navigate to the directory where the repository is cloned.

Important

Before the following points make sure, that 127.0.0.1:9999 and 127.0.0.1:3030 is not in use.

2. Run the following command to start a server:

cargo run -- -s

3. Run the following command to start a proxy server:

cargo run -- -p

4. Run the following command to start a client:

cargo run -- -c

4. As the client, you can send messages to the server by typing them in the terminal.

Examples:

{ "jsonrpc": "2.0", "method": "say_hello", "params": "null", "id":1 }
{ "jsonrpc": "2.0", "method": "add", "params": [1, 2], "id":2 }

5. You can exit by sending the following message as the client:

{ "jsonrpc": "2.0", "method": "exit", "params": null, "id": 3 }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages