_hubConnection.On("UsersListChanged", () => ReloadOnlineUsers());
protected async Task ReloadOnlineUsers()
{
_usersOnline = await _hubConnection.InvokeAsync<List<int>>("WhoIsOnline", _messagesTabs.Select(x => x.CodeUserReply).ToList());
await InvokeAsync(StateHasChanged);
}
public override async Task OnConnectedAsync()
{
Console.WriteLine("Пользователь подключился: " + Context.ConnectionId);
await base.OnConnectedAsync();
}
public override async Task OnDisconnectedAsync(Exception e)
{
Console.WriteLine("Пользователь отвалился: " + Context.ConnectionId);
await base.OnDisconnectedAsync(e);
}
HTTP/1.1 302 Found
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:50:19 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
Keep-Alive: timeout=10
Location: http://jurist-arbitr.ru/check
Cache-Control: max-age=25920000
Expires: Wed, 22 Mar 2023 09:50:19 GMT
HTTP/1.1 301 Moved Permanently
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:50:20 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=10
X-Powered-By: PHP/7.4.28
Set-Cookie: apbct_timestamp=1653558619; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_landing_ts=1653558619; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_page_hits=1; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_cookies_test=%257B%2522cookies_names%2522%253A%255B%2522apbct_timestamp%2522%252C%2522apbct_site_landing_ts%2522%252C%2522apbct_page_hits%2522%255D%252C%2522check_value%2522%253A%252295846fe8614cceb40d4a0651a3451f1f%2522%257D; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_urls=%7B%22jurist-arbitr.ru%2Fcheck%22%3A%5B1653558619%5D%7D; expires=Sun, 29-May-2022 09:50:19 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_referer=UNKNOWN; expires=Sun, 29-May-2022 09:50:19 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; HttpOnly; SameSite=Lax
X-Redirect-By: WordPress
Location: https://jurist-arbitr.ru/check
Expires: Wed, 22 Mar 2023 09:50:19 GMT
HTTP/1.1 301 Moved Permanently
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:50:20 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=10
X-Powered-By: PHP/7.4.28
Set-Cookie: apbct_timestamp=1653558620; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_landing_ts=1653558620; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_page_hits=1; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_cookies_test=%257B%2522cookies_names%2522%253A%255B%2522apbct_timestamp%2522%252C%2522apbct_site_landing_ts%2522%252C%2522apbct_page_hits%2522%255D%252C%2522check_value%2522%253A%25225bb48b618cab016be9ebac9e2379ec50%2522%257D; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_urls=%7B%22jurist-arbitr.ru%2Fcheck%22%3A%5B1653558620%5D%7D; expires=Sun, 29-May-2022 09:50:20 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_referer=UNKNOWN; expires=Sun, 29-May-2022 09:50:20 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; secure; HttpOnly; SameSite=Lax
X-Redirect-By: WordPress
Location: https://jurist-arbitr.ru/check/
Expires: Wed, 22 Mar 2023 09:50:20 GMT
HTTP/1.1 200 OK
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:50:20 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=10
Vary: Accept-Encoding
X-Powered-By: PHP/7.4.28
Set-Cookie: apbct_timestamp=1653558620; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_landing_ts=1653558620; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_page_hits=1; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_cookies_test=%257B%2522cookies_names%2522%253A%255B%2522apbct_timestamp%2522%252C%2522apbct_site_landing_ts%2522%252C%2522apbct_page_hits%2522%255D%252C%2522check_value%2522%253A%25225bb48b618cab016be9ebac9e2379ec50%2522%257D; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_urls=%7B%22jurist-arbitr.ru%2Fcheck%2F%22%3A%5B1653558620%5D%7D; expires=Sun, 29-May-2022 09:50:20 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_referer=UNKNOWN; expires=Sun, 29-May-2022 09:50:20 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; secure; HttpOnly; SameSite=Lax
Link: <https://jurist-arbitr.ru/?p=5630>; rel=shortlink
Expires: Wed, 22 Mar 2023 09:50:20 GMT
HTTP/1.1 200 OK
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:52:55 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=10
Vary: Accept-Encoding
X-Powered-By: PHP/7.4.28
Set-Cookie: apbct_timestamp=1653558775; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_landing_ts=1653558775; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_page_hits=1; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_cookies_test=%257B%2522cookies_names%2522%253A%255B%2522apbct_timestamp%2522%252C%2522apbct_site_landing_ts%2522%252C%2522apbct_page_hits%2522%255D%252C%2522check_value%2522%253A%25224f996e3599606c413531306a01e3c424%2522%257D; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_urls=%7B%22jurist-arbitr.ru%2Fwin%2F%22%3A%5B1653558775%5D%7D; expires=Sun, 29-May-2022 09:52:55 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_referer=UNKNOWN; expires=Sun, 29-May-2022 09:52:55 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; secure; HttpOnly; SameSite=Lax
Link: <https://jurist-arbitr.ru/?p=3137>; rel=shortlink
Expires: Wed, 22 Mar 2023 09:52:55 GMT
HTTP/1.1 302 Found
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:59:49 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
Keep-Alive: timeout=10
Location: http://jurist-arbitr.ru/check
Cache-Control: max-age=25920000
Expires: Wed, 22 Mar 2023 09:59:49 GMT
HTTP/1.1 301 Moved Permanently
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:59:50 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=10
X-Powered-By: PHP/7.4.28
Set-Cookie: apbct_timestamp=1653559189; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_landing_ts=1653559189; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_page_hits=1; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_cookies_test=%257B%2522cookies_names%2522%253A%255B%2522apbct_timestamp%2522%252C%2522apbct_site_landing_ts%2522%252C%2522apbct_page_hits%2522%255D%252C%2522check_value%2522%253A%2522bf8888ef35bc2873dbf18d7635eafd26%2522%257D; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_urls=%7B%22jurist-arbitr.ru%2Fcheck%22%3A%5B1653559189%5D%7D; expires=Sun, 29-May-2022 09:59:49 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_referer=UNKNOWN; expires=Sun, 29-May-2022 09:59:49 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; HttpOnly; SameSite=Lax
X-Redirect-By: WordPress
Location: https://jurist-arbitr.ru/check
Expires: Wed, 22 Mar 2023 09:59:49 GMT
HTTP/1.1 301 Moved Permanently
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:59:50 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=10
X-Powered-By: PHP/7.4.28
Set-Cookie: apbct_timestamp=1653559190; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_landing_ts=1653559190; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_page_hits=1; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_cookies_test=%257B%2522cookies_names%2522%253A%255B%2522apbct_timestamp%2522%252C%2522apbct_site_landing_ts%2522%252C%2522apbct_page_hits%2522%255D%252C%2522check_value%2522%253A%25226d126499dbadb7b71fd84362202b9b25%2522%257D; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_urls=%7B%22jurist-arbitr.ru%2Fcheck%22%3A%5B1653559190%5D%7D; expires=Sun, 29-May-2022 09:59:50 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_referer=UNKNOWN; expires=Sun, 29-May-2022 09:59:50 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; secure; HttpOnly; SameSite=Lax
X-Redirect-By: WordPress
Location: https://jurist-arbitr.ru/check/
Expires: Wed, 22 Mar 2023 09:59:50 GMT
HTTP/1.1 302 Found
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:59:50 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
Keep-Alive: timeout=10
Location: http://jurist-arbitr.ru/check
Cache-Control: max-age=25920000
Expires: Wed, 22 Mar 2023 09:59:50 GMT
HTTP/1.1 301 Moved Permanently
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:59:50 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=10
X-Powered-By: PHP/7.4.28
Set-Cookie: apbct_timestamp=1653559190; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_landing_ts=1653559190; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_page_hits=1; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_cookies_test=%257B%2522cookies_names%2522%253A%255B%2522apbct_timestamp%2522%252C%2522apbct_site_landing_ts%2522%252C%2522apbct_page_hits%2522%255D%252C%2522check_value%2522%253A%25226d126499dbadb7b71fd84362202b9b25%2522%257D; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_urls=%7B%22jurist-arbitr.ru%2Fcheck%22%3A%5B1653559190%5D%7D; expires=Sun, 29-May-2022 09:59:50 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_referer=UNKNOWN; expires=Sun, 29-May-2022 09:59:50 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; HttpOnly; SameSite=Lax
X-Redirect-By: WordPress
Location: https://jurist-arbitr.ru/check
Expires: Wed, 22 Mar 2023 09:59:50 GMT
HTTP/1.1 301 Moved Permanently
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:59:50 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=10
X-Powered-By: PHP/7.4.28
Set-Cookie: apbct_timestamp=1653559190; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_landing_ts=1653559190; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_page_hits=1; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_cookies_test=%257B%2522cookies_names%2522%253A%255B%2522apbct_timestamp%2522%252C%2522apbct_site_landing_ts%2522%252C%2522apbct_page_hits%2522%255D%252C%2522check_value%2522%253A%25226d126499dbadb7b71fd84362202b9b25%2522%257D; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_urls=%7B%22jurist-arbitr.ru%2Fcheck%22%3A%5B1653559190%5D%7D; expires=Sun, 29-May-2022 09:59:50 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_referer=UNKNOWN; expires=Sun, 29-May-2022 09:59:50 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; secure; HttpOnly; SameSite=Lax
X-Redirect-By: WordPress
Location: https://jurist-arbitr.ru/check/
Expires: Wed, 22 Mar 2023 09:59:50 GMT
HTTP/1.1 302 Found
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:59:50 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
Keep-Alive: timeout=10
Location: http://jurist-arbitr.ru/check
Cache-Control: max-age=25920000
Expires: Wed, 22 Mar 2023 09:59:50 GMT
HTTP/1.1 301 Moved Permanently
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:59:50 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=10
X-Powered-By: PHP/7.4.28
Set-Cookie: apbct_timestamp=1653559190; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_landing_ts=1653559190; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_page_hits=1; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_cookies_test=%257B%2522cookies_names%2522%253A%255B%2522apbct_timestamp%2522%252C%2522apbct_site_landing_ts%2522%252C%2522apbct_page_hits%2522%255D%252C%2522check_value%2522%253A%25226d126499dbadb7b71fd84362202b9b25%2522%257D; path=/; HttpOnly; SameSite=Lax
Set-Cookie: apbct_urls=%7B%22jurist-arbitr.ru%2Fcheck%22%3A%5B1653559190%5D%7D; expires=Sun, 29-May-2022 09:59:50 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_referer=UNKNOWN; expires=Sun, 29-May-2022 09:59:50 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; HttpOnly; SameSite=Lax
X-Redirect-By: WordPress
Location: https://jurist-arbitr.ru/check
Expires: Wed, 22 Mar 2023 09:59:50 GMT
HTTP/1.1 301 Moved Permanently
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:59:51 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Keep-Alive: timeout=10
X-Powered-By: PHP/7.4.28
Set-Cookie: apbct_timestamp=1653559190; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_landing_ts=1653559190; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_page_hits=1; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_cookies_test=%257B%2522cookies_names%2522%253A%255B%2522apbct_timestamp%2522%252C%2522apbct_site_landing_ts%2522%252C%2522apbct_page_hits%2522%255D%252C%2522check_value%2522%253A%25226d126499dbadb7b71fd84362202b9b25%2522%257D; path=/; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_urls=%7B%22jurist-arbitr.ru%2Fcheck%22%3A%5B1653559190%5D%7D; expires=Sun, 29-May-2022 09:59:50 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; secure; HttpOnly; SameSite=Lax
Set-Cookie: apbct_site_referer=UNKNOWN; expires=Sun, 29-May-2022 09:59:50 GMT; Max-Age=259200; path=/; domain=jurist-arbitr.ru; secure; HttpOnly; SameSite=Lax
X-Redirect-By: WordPress
Location: https://jurist-arbitr.ru/check/
Expires: Wed, 22 Mar 2023 09:59:50 GMT
HTTP/1.1 302 Found
Server: nginx/1.19.1
Date: Thu, 26 May 2022 09:59:51 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
Keep-Alive: timeout=10
Location: http://jurist-arbitr.ru/check
Cache-Control: max-age=25920000
Expires: Wed, 22 Mar 2023 09:59:51 GMT
Спасибо за советы!