Hi Ben,
You are right, there is no DELETE entry in the client binding. The reason is that you can simply send a DELETE command [1], as there is no need to transfer additional binary data.
Does this help? Christian
[1] http://docs.basex.org/wiki/Commands#DELETE
On Mon, Apr 23, 2018 at 2:38 PM, Ben Engbers Ben.Engbers@be-logical.nl wrote:
Hi,
It was only after starting to implement my R-client implementation in examples, that I noticed there is no 'DELETE'-command specified in the server protocol.
Is this a deliberate ommission?
I would guess that implementing such a command would come down to something like this: delete = function(name = name) { writeBin(as.raw(---BYTE---), private$sock) writeBin(private$raw_terminated_string(name), private$sock) return(list(info = private$info, success = self$bool_test_sock())) }
If this is correct, where can I find (a list with) the required byte-codes?
Ben Engbers