> On 26 Oct 2017, at 12:35 pm, Bram Moolenaar <[email protected]> wrote:
> 
> In this case ch_evalraw() won't work well, because Vim does not know
> when a raw message is finished.  That it works with logging is probably
> a matter of timing.  Thus you need to use ch_read() until you have the
> complete message.  For HTTP the header should have the length of the
> contents, or you can check the JSON is complete.

OK, that makes sense.  Thank you for the explanation.  I appreciate it.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui