File tree Expand file tree Collapse file tree
src/providers/push/socketio Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export class SocketIOProvider implements Provider<SocketNotification> {
1212 private readonly socketConfig ?: SocketConfig ,
1313 ) {
1414 if ( this . socketConfig && this . socketConfig . url ) {
15- this . socketService = io ( this . socketConfig . url ) ;
15+ this . socketService = io ( this . socketConfig . url , socketConfig ?. options ) ;
1616 } else {
1717 throw new HttpErrors . PreconditionFailed ( 'Socket Config missing !' ) ;
1818 }
Original file line number Diff line number Diff line change @@ -32,4 +32,10 @@ export interface SocketConfig {
3232 * Path represents the default socket server endpoint
3333 */
3434 defaultPath : string ;
35+ options : {
36+ // sonarignore:start
37+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
38+ [ key : string ] : any ;
39+ // sonarignore:end
40+ } ;
3541}
You can’t perform that action at this time.
0 commit comments