You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if there is a plugin on RabbitMQ or any configuration on the library that makes it possible not to hard code credentials in front-end?
import{RxStompConfig}from'@stomp/rx-stomp';exportconstmyRxStompConfig: RxStompConfig={// Which server?brokerURL: 'ws://00.000.00.00:00000/ws',// Headers// Typical keys: login, passcode, hostconnectHeaders: {login: 'user',passcode: 'xxxxxxxxxxx',},// How often to heartbeat?// Interval in milliseconds, set to 0 to disableheartbeatIncoming: 0,// Typical value 0 - disabledheartbeatOutgoing: 20000,// Typical value 20000 - every 20 seconds// Wait in milliseconds before attempting auto reconnect// Set to 0 to disable// Typical value 500 (500 milli seconds)reconnectDelay: 20000,// Will log diagnostics on console// It can be quite verbose, not recommended in production// Skip this key to stop logging to consoledebug: (msg: string): void=>{
console.log(newDate(),msg);},};
The text was updated successfully, but these errors were encountered:
I'm wondering if there is a plugin on RabbitMQ or any configuration on the library that makes it possible not to hard code credentials in front-end?
The text was updated successfully, but these errors were encountered: