ditto
Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).
Copyright (c) 2009-2017 dunnhumby Germany GmbH. All rights reserved.
Application extension for handling requests via a unix socket.
Commands can be registered to the extension and when the command is received the provided delegate will be called. Any provided arguments will be split by the space character and provided as an array.
The socket will be created under the path defined by the config option path under the [UNIX_SOCKET] config group. If the config path is not defined then the unix socket will not be created. If there's a need to setup the permissions mode, config option mode will be used to read the mode as octal string (usually you want 0600 for this).