Skip to content

ThinkingHome.DeviceModel.Remoting.ProxyServer ​

ThinkingHome.DeviceModel.Remoting.ProxyServer ​

ProxyServerEndpointExtensions Class ​

Маппинг SignalR-хаба устройств в приложении-прокси.

csharp
public static class ProxyServerEndpointExtensions

Inheritance System.Object → ProxyServerEndpointExtensions

Methods ​

ProxyServerEndpointExtensions.MapDeviceHub(this IEndpointRouteBuilder) Method ​

Маппит DeviceHub на его канонический путь (Path).

csharp
public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapDeviceHub(this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints);

Parameters ​

endpoints Microsoft.AspNetCore.Routing.IEndpointRouteBuilder

Returns ​

Microsoft.AspNetCore.Builder.IEndpointConventionBuilder

Опубликовано под лицензией MIT