Monkey HTTP Server v1.5

Liana

On Monkey architecture exists the concept of Transport Layer, which refers to the plugin who take cares of the low level and generic Network I/O. For hence, Monkey core and the configuration needs to know which Transport Layer plugin will be used when running.

Liana is the Transport Layer plugin that take cares to provide the most basic functions for Network I/O over plain sockets (no encryption). The plugin do not need any configuration and is considered the most simple plugin.

In technical terms, the Liana functionalities are:

  • Accept an incoming connection
  • Read from connection
  • Write to connection
  • Write Vector arrays to connection
  • Close connection
  • Create connection
  • Connect to host
  • Bind an address
  • Start a listener server
  • Send a file

Any other plugin that act as a Transport Layer may implement the same functionalities described above, as an example of a plugin using SSL encryption refer to the PolarSSL plugin.

Enable Plugin

To enable the Liana plugin, please follow the steps mentioned on Plugins section. The plugin name is monkey-liana.so, so make sure the plugin entry is Load and the absolute path is correct.