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

Method send

basex-api/src/main/php/BaseXClient/Session.php:215–221  ·  view source on GitHub ↗

* Sends data. * @param data data string */

($data)

Source from the content-addressed store, hash-verified

213 * @param data data string
214 */
215 public function send($data)
216 {
217 $result = socket_write($this->socket, $data);
218 if ($result === false) {
219 throw $this->error("Write failed");
220 }
221 }
222
223 private function read()
224 {

Callers 9

__constructMethod · 0.95
executeMethod · 0.95
sendCmdMethod · 0.95
moreMethod · 0.45
execMethod · 0.45
sendFunction · 0.45
requestFunction · 0.45
callMethod · 0.45
callMethod · 0.45

Calls 1

errorMethod · 0.95

Tested by 2

callMethod · 0.36
callMethod · 0.36