C# Класс HA4IoT.Api.LocalHttpServerApiDispatcherEndpointService

Наследование: HA4IoT.Contracts.Services.ServiceBase, IApiDispatcherEndpoint
Показать файл Открыть проект

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

Метод Описание
LocalHttpServerApiDispatcherEndpointService ( IApiService apiService, HttpServer httpServer ) : System
NotifyStateChanged ( IComponent component ) : void
Startup ( ) : void

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

Метод Описание
AttachWebSocket ( IWebSocketClientSession webSocketClientSession ) : void
AttachWebSocket ( object sender, WebSocketConnectedEventArgs eventArgs ) : void
ConvertResultCode ( ApiResultCode resultCode ) : HttpStatusCode
CreateApiContext ( HttpContext httpContext ) : ApiContext
DispatchHttpRequest ( HttpContext httpContext ) : void
DispatchHttpRequest ( object sender, HttpRequestReceivedEventArgs eventArgs ) : void
DispatchWebSocketMessage ( object sender, WebSocketMessageReceivedEventArgs e ) : void
GenerateHash ( string input ) : string

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

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

public LocalHttpServerApiDispatcherEndpointService ( IApiService apiService, HttpServer httpServer ) : System
apiService IApiService
httpServer HA4IoT.Networking.Http.HttpServer
Результат System

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

public NotifyStateChanged ( IComponent component ) : void
component IComponent
Результат void

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

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