xk6-websockets icon indicating copy to clipboard operation
xk6-websockets copied to clipboard

Require setting `binaryType`

Open mstoykov opened this issue 1 year ago • 0 comments

While #35 will add Blob support at some point, the current API automatically sets binaryType to arraybuffer and as of #64 warns hat this will not be done in the future.

This issue is to discuss and follow through on the actual breaking parts of this breaking change - making binaryType have a different default than arraybuffer. Which is inline with the specification.

Between #35 and this issue, this is the one that is needed to not have breaking changes in the API and to be able to actually stabalize the API in the core k6.

mstoykov avatar Apr 30 '24 08:04 mstoykov