Skip to content

nmbr7/rsless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


rsless

An RPC tool/library written in Rust


Example

Starting Server

cargo run --release -- server

Creating a function

Using client subcommand

cargo run --release -- client -c 127.0.0.1:9888 create -l 'Rust' -d fibexample -p "fib(arg1:u128) -> u128"

Returns a uuid

Publish uploaded function

cargo run --release -- client -c 127.0.0.1:9888 publish -i 5c72527c-373e-43a2-9d29-4bb8f5fe69e1

If published, returns OK

Testing using curl

curl --header "Content-Type: application/json" --request POST\ --data '{"msg_type":"INVOKE", "params" : ["100"] , "id": "5c72527c-373e-43a2-9d29-4bb8f5fe69e1" }' 127.0.0.1:9888


❗ Not Yet Stable


About

A Simple RPC tool/library written in Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages