Home
last modified time | relevance | path

Searched refs:message_body (Results 1 – 9 of 9) sorted by relevance

/external/openscreen/cast/streaming/
Dreceiver_session_unittest.cc304 auto message_body = json::Parse(messages[0]); in AssertGotAnErrorAnswerResponse() local
305 ExpectIsErrorAnswerMessage(message_body); in AssertGotAnErrorAnswerResponse()
348 auto message_body = json::Parse(messages[0]); in TEST_F() local
349 EXPECT_TRUE(message_body.is_value()); in TEST_F()
350 const Json::Value answer = std::move(message_body.value()); in TEST_F()
432 auto message_body = json::Parse(messages[0]); in TEST_F() local
433 ASSERT_TRUE(message_body.is_value()); in TEST_F()
434 const Json::Value answer = std::move(message_body.value()); in TEST_F()
486 auto message_body = json::Parse(messages[0]); in TEST_F() local
487 EXPECT_TRUE(message_body.is_value()); in TEST_F()
[all …]
Dsender_session_unittest.cc173 auto message_body = json::Parse(messages[0]); in NegotiateOfferAndConstructAnswer() local
174 if (message_body.is_error()) { in NegotiateOfferAndConstructAnswer()
177 const Json::Value offer = std::move(message_body.value()); in NegotiateOfferAndConstructAnswer()
269 auto message_body = json::Parse(messages[0]); in TEST_F() local
270 ASSERT_TRUE(message_body.is_value()); in TEST_F()
271 const Json::Value offer = std::move(message_body.value()); in TEST_F()
283 auto message_body = json::Parse(messages[0]); in TEST_F() local
284 ASSERT_TRUE(message_body.is_value()); in TEST_F()
285 const Json::Value offer = std::move(message_body.value()); in TEST_F()
297 auto message_body = json::Parse(messages[0]); in TEST_F() local
[all …]
Dsession_messager.cc141 ErrorOr<Json::Value> message_body = json::Parse(message); in OnMessage() local
142 if (!message_body) { in OnMessage()
143 ReportError(message_body.error()); in OnMessage()
149 if (!json::ParseAndValidateInt(message_body.value()[kSequenceNumber], in OnMessage()
161 ReceiverMessage::Parse(message_body.value()); in OnMessage()
240 ErrorOr<Json::Value> message_body = json::Parse(message); in OnMessage() local
241 if (message_body.is_error()) { in OnMessage()
242 ReportError(message_body.error()); in OnMessage()
252 SenderMessage::Parse(message_body.value()); in OnMessage()
/external/autotest/client/common_lib/
Dmail.py4 def send(from_address, to_addresses, cc_addresses, subject, message_body): argument
35 message.set_payload(message_body)
/external/nist-sip/java/gov/nist/javax/sip/parser/
DPipelinedMsgParser.java309 byte[] message_body = new byte[contentLength]; in run()
321 int readlength = inputStream.read(message_body, in run()
336 sipMessage.setMessageContent(message_body); in run()
/external/python/cpython3/Lib/http/
Dclient.py1001 def _send_output(self, message_body=None, encode_chunked=False): argument
1012 if message_body is not None:
1015 if hasattr(message_body, 'read'):
1019 chunks = self._read_readable(message_body)
1026 memoryview(message_body)
1029 chunks = iter(message_body)
1033 % type(message_body))
1037 chunks = (message_body,)
1239 def endheaders(self, message_body=None, *, encode_chunked=False): argument
1250 self._send_output(message_body, encode_chunked=encode_chunked)
/external/python/cpython2/Lib/
Dhttplib.py867 def _send_output(self, message_body=None): argument
879 if isinstance(message_body, str):
880 msg += message_body
881 message_body = None
883 if message_body is not None:
886 self.send(message_body)
1025 def endheaders(self, message_body=None): argument
1038 self._send_output(message_body)
/external/python/cpython3/Doc/library/
Dhttp.client.rst402 .. method:: HTTPConnection.endheaders(message_body=None, *, encode_chunked=False)
405 optional *message_body* argument can be used to pass a message body
409 *message_body* will be chunk-encoded as specified in :rfc:`7230`,
411 *message_body*. If *message_body* implements the :ref:`buffer interface
413 If *message_body* is a :class:`collections.abc.Iterable`, each iteration
414 of *message_body* will result in a chunk. If *message_body* is a
417 immediately after *message_body*.
/external/python/cpython2/Doc/library/
Dhttplib.rst518 .. method:: HTTPConnection.endheaders(message_body=None)
521 optional *message_body* argument can be used to pass a message body
527 *message_body* was added.