Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function createConfig(): SignalRConfiguration {
const signalRConfig = new SignalRConfiguration();
signalRConfig.hubName = 'Ng2SignalRHub';
signalRConfig.qs = { user: 'donald' };
signalRConfig.url = 'http://ng2-signalr-backend.azurewebsites.net/';
signalRConfig.logging = true;
return signalRConfig;
}