Index

consolidated/ng2-stompjs/src/app/rx-stomp-service-factory.ts

rxStompServiceFactory
rxStompServiceFactory(rxStompConfig)

Part of @stomp/ng2-stompjs.

This is factory function that can create RxStompService when configuration is already known. You can use this function for defining provider for RxStompService. RxStompService created using this function is configured and activated. This provides the simplest mechanism to define RxStompService for Dependency Injection.

See: /guide/ng2-stompjs/ng2-stomp-with-angular7.html for a step-by-step guide.

Parameters :
Name Optional
rxStompConfig No
Returns : RxStompService

result-matching ""

    No results matching ""