getConfiguration method

String getConfiguration()

Get current config JSON string data

Implementation

String getConfiguration() {
  GetConfiguration function = handler.instance
      .lookupFunction<GetConfiguration, GetConfiguration>("getConfiguration");

  Pointer<Pointer<Void>> exception = WebFrameworkException.createException();
  Pointer<Void> temp = function.call(implementation, exception);

  WebFrameworkException.checkException(exception, handler);

  String result = handler.getDataFromString(temp);

  handler.deleteWebFrameworkString(temp);

  return result;
}