C# Class HA4IoT.Api.LocalHttpServerApiDispatcherEndpointService

Inheritance: HA4IoT.Contracts.Services.ServiceBase, IApiDispatcherEndpoint
Afficher le fichier Open project: chkr1011/CK.HomeAutomation

Méthodes publiques

Méthode Description
LocalHttpServerApiDispatcherEndpointService ( IApiService apiService, HttpServer httpServer ) : System
NotifyStateChanged ( IComponent component ) : void
Startup ( ) : void

Private Methods

Méthode Description
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

Method Details

LocalHttpServerApiDispatcherEndpointService() public méthode

public LocalHttpServerApiDispatcherEndpointService ( IApiService apiService, HttpServer httpServer ) : System
apiService IApiService
httpServer HA4IoT.Networking.Http.HttpServer
Résultat System

NotifyStateChanged() public méthode

public NotifyStateChanged ( IComponent component ) : void
component IComponent
Résultat void

Startup() public méthode

public Startup ( ) : void
Résultat void