Flutter Engine
service_protocol.cc File Reference
#include "flutter/runtime/service_protocol.h"
#include <cstring>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include "flutter/fml/posix_wrappers.h"
#include "flutter/fml/synchronization/waitable_event.h"
#include "rapidjson/stringbuffer.h"
#include "rapidjson/writer.h"
#include "third_party/dart/runtime/include/dart_tools_api.h"

Go to the source code of this file.

Namespaces

 flutter
 

Macros

#define RAPIDJSON_HAS_STDSTRING   1
 

Functions

static void flutter::WriteServerErrorResponse (rapidjson::Document *document, const char *message)
 
static bool flutter::HandleMessageOnHandler (ServiceProtocol::Handler *handler, std::string_view method, const ServiceProtocol::Handler::ServiceProtocolMap &params, rapidjson::Document *document)
 
static std::string flutter::CreateFlutterViewID (intptr_t handler)
 
static std::string flutter::CreateIsolateID (int64_t isolate)
 

Variables

static constexpr std::string_view flutter::kViewIdPrefx = "_flutterView/"
 
static constexpr std::string_view flutter::kListViewsExtensionName
 

Macro Definition Documentation

◆ RAPIDJSON_HAS_STDSTRING

#define RAPIDJSON_HAS_STDSTRING   1

Definition at line 5 of file service_protocol.cc.