composeFlatBufferFrame method

NativeFlatBufferFrame composeFlatBufferFrame(
  1. NativeOwnedBuffer control, {
  2. NativeOwnedBuffer? arguments,
  3. NativeOwnedBuffer? argumentsKeywords,
  4. NativeOwnedBuffer? opaquePayload,
})

Retain a control-only WAMP envelope and independently owned application buffers. Args/kwargs must be CBOR array/dictionary bytes; opaque payloads remain uninterpreted. All input buffers stay live on success and failure.

Implementation

NativeFlatBufferFrame composeFlatBufferFrame(
  NativeOwnedBuffer control, {
  NativeOwnedBuffer? arguments,
  NativeOwnedBuffer? argumentsKeywords,
  NativeOwnedBuffer? opaquePayload,
}) => _frameApi.compose(control, arguments, argumentsKeywords, opaquePayload);