Searched refs:json_message (Results 1 – 3 of 3) sorted by relevance
39 Json::Value json_message; in OnReceive() local44 if (!json_reader->parse(str, str + len, &json_message, &errorMessage)) { in OnReceive()50 if (!json_message.isMember(webrtc_signaling::kTypeField) || in OnReceive()51 !json_message[webrtc_signaling::kTypeField].isString()) { in OnReceive()59 auto type = json_message[webrtc_signaling::kTypeField].asString(); in OnReceive()60 handleMessage(type, json_message); in OnReceive()
226 Json::Value json_message; in DoPost() local232 if (!json_reader->parse(data.c_str(), data.c_str() + data.size(), &json_message, in DoPost()240 if (json_message.isMember(webrtc_signaling::kClientSecretField)) { in DoPost()242 json_message[webrtc_signaling::kClientSecretField].asString(); in DoPost()250 return DoPostInner(poll_handler, json_message); in DoPost()
29 Json::Value json_message; in writeJsonEventMessage() local30 json_message["event"] = message; in writeJsonEventMessage()31 return connection && connection->WriteMessage(json_message); in writeJsonEventMessage()