C# Класс Microsoft.AspNetCore.SignalR.Transports.WebSocketTransport

Наследование: ForeverTransport
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DecrementConnectionsCount ( ) : void
IncrementConnectionsCount ( ) : void
KeepAlive ( ) : Task
ProcessRequest ( ITransportConnection connection ) : Task
Send ( PersistentResponse response ) : Task
Send ( object value ) : Task
WebSocketTransport ( HttpContext context, JsonSerializer serializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IMemoryPool pool ) : System
WebSocketTransport ( HttpContext context, JsonSerializer serializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IMemoryPool pool, int maxIncomingMessageSize ) : System

Приватные методы

Метод Описание
AcceptWebSocketRequest ( ITransportConnection connection ) : Task
OnClosed ( ) : void
OnMessage ( string message ) : void
OnSocketError ( Exception error ) : void
PerformSend ( object state ) : Task

Описание методов

DecrementConnectionsCount() публичный Метод

public DecrementConnectionsCount ( ) : void
Результат void

IncrementConnectionsCount() публичный Метод

public IncrementConnectionsCount ( ) : void
Результат void

KeepAlive() публичный Метод

public KeepAlive ( ) : Task
Результат Task

ProcessRequest() публичный Метод

public ProcessRequest ( ITransportConnection connection ) : Task
connection ITransportConnection
Результат Task

Send() публичный Метод

public Send ( PersistentResponse response ) : Task
response PersistentResponse
Результат Task

Send() публичный Метод

public Send ( object value ) : Task
value object
Результат Task

WebSocketTransport() публичный Метод

public WebSocketTransport ( HttpContext context, JsonSerializer serializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IMemoryPool pool ) : System
context HttpContext
serializer Newtonsoft.Json.JsonSerializer
heartbeat ITransportHeartbeat
performanceCounterManager IPerformanceCounterManager
applicationLifetime IApplicationLifetime
loggerFactory ILoggerFactory
pool IMemoryPool
Результат System

WebSocketTransport() публичный Метод

public WebSocketTransport ( HttpContext context, JsonSerializer serializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IMemoryPool pool, int maxIncomingMessageSize ) : System
context HttpContext
serializer Newtonsoft.Json.JsonSerializer
heartbeat ITransportHeartbeat
performanceCounterManager IPerformanceCounterManager
applicationLifetime IApplicationLifetime
loggerFactory ILoggerFactory
pool IMemoryPool
maxIncomingMessageSize int
Результат System