MCPcopy Create free account
hub / github.com/BaseXdb/basex / __send_input

Method __send_input

basex-api/src/main/python/BaseXClient/BaseXClient.py:193–198  ·  view source on GitHub ↗

internal. don't care.

(self, code, arg, content)

Source from the content-addressed store, hash-verified

191 self.__swrapper.sendall(value + chr(0))
192
193 def __send_input(self, code, arg, content):
194 """internal. don't care."""
195 self.__swrapper.sendall(chr(code) + arg + chr(0) + content + chr(0))
196 self.__info = self.recv_c_str()
197 if not self.server_response_success():
198 raise IOError(self.info())
199
200 def __send_binary_input(self, code, path, content):
201 """internal. don't care."""

Callers 3

createMethod · 0.95
addMethod · 0.95
replaceMethod · 0.95

Calls 4

recv_c_strMethod · 0.95
infoMethod · 0.95
sendallMethod · 0.80

Tested by

no test coverage detected