An http interceptor to automatically add the socket ID header, use this as something like (or use the AngularLaravelEchoModule.forRoot method):
@NgModule({ ... providers: [ ... { provide: HTTP_INTERCEPTORS, useClass: EchoInterceptor, multi: true } ... ] ... })
An http interceptor to automatically add the socket ID header, use this as something like (or use the AngularLaravelEchoModule.forRoot method):
@NgModule({ ... providers: [ ... { provide: HTTP_INTERCEPTORS, useClass: EchoInterceptor, multi: true } ... ] ... })