This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Interactive Shell
Here is how to create a irb mapper session:
- First shell: Start the simple-agent example, see Testing Nanite.
- Second shell: Start a interactive mapper:
nanite-mapper -i -u mapper -p testing -v /nanite
- -i interactive
- -u user mapper
- -p pass testing
- -v vhost nanite
- Let’s request our echo service:
request("/simple/echo", "keep on rocking") { |res| p res }
And we got a result:
INFO: SEND [request] <71f6f654c86f4f3a5f8049018ede4ed5> /simple/echo from mapper to foo
INFO: RECV [result] <71f6f654c86f4f3a5f8049018ede4ed5> from foo
{"nanite-foo"=>"Nanite said keep on rocking @ Sat Sep 12 02:41:40 -0300 2009"}






