Interfacing with other machines


One can use the "High-level declarative REST and web application framework" vibe.d to implement a RESTful API server or client on the BB.

install libevent which vibe.d depends on:

sudo apt-get install libevent-dev

vibe.d based RESTful API server example (DConf Talk)](DConf Talk)

vibe.d based RESTful API client example (DConf Talk)

example of HibernateD based ORM (DConf Talk)


For an example how a client and server may communicate via plain sockets refer to the source code in /code/clientserver.

You can build the scripts client and server with the build script build in the same directory.

results matching ""

    No results matching ""