SocketControlMessage.fromHandles constructor

SocketControlMessage.fromHandles(
  1. List<ResourceHandle> handles
)

Creates a control message containing the provided handles.

This is used by the sender when it sends handles across the socket. Receiver can extract the handles from the message using extractHandles.

Implementation

external factory SocketControlMessage.fromHandles(
  List<ResourceHandle> handles,
);