diff --git a/ServiceHost/Program.cs b/ServiceHost/Program.cs index bf46f1d7..7e3431e0 100644 --- a/ServiceHost/Program.cs +++ b/ServiceHost/Program.cs @@ -356,6 +356,7 @@ else app.UseExceptionHandler(options => { }); // این خط CustomExceptionHandler رو فعال می‌کنه app.UseRouting(); +app.UseWebSockets(); app.UseAuthentication(); app.UseAuthorization();