MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / send

Method send

src/File/FileRequest.py:40–42  ·  view source on GitHub ↗
(self, msg, streaming=False)

Source from the content-addressed store, hash-verified

38 self.responded = False # Responded to the request
39
40 def send(self, msg, streaming=False):
41 if not self.connection.closed:
42 self.connection.send(msg, streaming)
43
44 def sendRawfile(self, file, read_bytes):
45 if not self.connection.closed:

Callers 1

responseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected