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

Method recv_c_str

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

Retrieve a string from the socket

(self)

Source from the content-addressed store, hash-verified

183 self.__swrapper.close()
184
185 def recv_c_str(self):
186 """Retrieve a string from the socket"""
187 return self.__swrapper.recv_until_terminator().decode(self.__swrapper.receive_bytes_encoding)
188
189 def send(self, value):
190 """Send the defined string"""

Callers 7

__init__Method · 0.95
executeMethod · 0.95
__send_inputMethod · 0.95
__send_binary_inputMethod · 0.95
receiveMethod · 0.95
iter_receiveMethod · 0.95
__excMethod · 0.80

Calls 2

recv_until_terminatorMethod · 0.80
decodeMethod · 0.45

Tested by

no test coverage detected