angular-websocket icon indicating copy to clipboard operation
angular-websocket copied to clipboard

How to use arraybuffer support?

Open mustafaakin opened this issue 9 years ago • 1 comments

I see the change here, however I do not know how to use it.

https://github.com/AngularClass/angular-websocket/commit/fac7d4504c746d3ed4529afaa4cb698b9e7aee63

I need to send ArrayBuffer's thru it.

mustafaakin avatar Feb 25 '16 23:02 mustafaakin

you can try this:

$websocket("addr", ["proto"],
      {
        binaryType: "arraybuffer"
      });

for now,$websocket work in arraybuffer mode

vanishs avatar Mar 01 '16 08:03 vanishs