Browse Source

add this function to test

JSON-143
Roker 2 years ago
parent
commit
23aa7fbbd1
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      server/ev_server.cc

+ 1
- 0
server/ev_server.cc View File

@ -164,6 +164,7 @@ const FunctionMap functions = {
FP( "serverVersion", new Func<ServerVersion>( &server_version ) ),
FP( "version", new Func<std::string>( &version_as_a_string ) ),
FP( "getBinaryPath", new Func<std::string>( &getBinaryPath ) ),
FP( "testMessageToSend", new Func<PEP_STATUS, In<message*>> (&JsonAdapter::messageToSend) ),
FP( "shutdown", new Func<void, In<JsonAdapter*,ParamFlag::NoInput>>( &JsonAdapter::shutdown_now ) ),
};


Loading…
Cancel
Save