createFullService static method
Creates a STOMP service with both client and server capabilities
Implementation
static StompService createFullService(Host host, {
String? serverName,
Duration? timeout,
}) {
return StompService(
host,
options: StompServiceOptions.serverEnabled(
serverName: serverName,
timeout: timeout ?? StompConstants.defaultTimeout,
),
);
}