MCPcopy Create free account
hub / github.com/apache/qpid-proton / do_request

Method do_request

python/examples/client_http.py:61–66  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59 self.do_request()
60
61 def do_request(self):
62 if self.pending and self.reply_address and self.sender.credit:
63 request, future = self.pending.pop(0)
64 self.sent.append((request, future))
65 req = Message(reply_to=self.reply_address, body=request)
66 self.sender.send(req)
67
68 def request(self, body):
69 future = Future()

Callers 4

on_link_openedMethod · 0.95
on_sendableMethod · 0.95
on_messageMethod · 0.95
requestMethod · 0.95

Calls 4

MessageClass · 0.90
popMethod · 0.45
appendMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected