Skip to main content

Home > @jsplumbtoolkit/browser-ui > ViewPortOptions > uniqueEndpoint

ViewPortOptions.uniqueEndpoint property

Normally, each time a new connection is established a port on which isEndpoint is set to true, a new endpoint is created for that connection. Setting this flag will cause the Toolkit to only ever create a single endpoint for the port, to which all connections should be attached. Note that you may wish to consider the maxConnections parameter if you use this, as by default the endpoint will be created with a limit of 1 connection.


uniqueEndpoint?: boolean;