I would assume the write-method in SSL.File should work with Stdio.Buffer.output_to(), but since it isn't implemented, I got worried I'm missing something in the big picture here...
>Thats a great addition. Shouldn't SSL.File.write() be good enough to >work with output_to() ? > >I had some more changes in mind when it comes to how the buffer is used. >In particular, I wanted to allow writing binary frames directly into the >internal buffer to avoid one copy. The reason I did not do it was that >the frame masking needs to do one copy anyway. For client mode that is >not the case, so I might have a look at that now. > >Arne > >On 05/18/16 09:10, Marcus Agehall (nu med K-m�rkt fastighet och ny >elcentral) @ Pike (-) developers forum wrote: >> I've been spending some time in the realm of Protocols.WebSocket >> lately. I've been working on a client mode for it as it only contains >> the server side parts at the moment. >> >> I now have a working version for Pike 8.0 (which is the version that I >> want it for) but when I tried to port it to 8.1 I ran into a bit of a >> problem. >> >> It seems that the 8.1 branch has been rewritten to work with >> Stdio.Buffer, which is good. But from what I can tell, SSL.File does >> not support that API. Is there a reason for this? >> >> Also, any objections to extending the WebSocket module in 8.0 to also >> provide a client mode? >> > >