Share via


IHubFilter 인터페이스

정의

허브 메서드 호출에 대한 필터 추상화입니다.

public interface class IHubFilter
public interface IHubFilter
type IHubFilter = interface
Public Interface IHubFilter

메서드

InvokeMethodAsync(HubInvocationContext, Func<HubInvocationContext,ValueTask<Object>>)

모든 Hub 메서드 호출을 처리할 수 있습니다.

OnConnectedAsync(HubLifetimeContext, Func<HubLifetimeContext,Task>)

메서드를 처리할 수 OnConnectedAsync() 있습니다.

OnDisconnectedAsync(HubLifetimeContext, Exception, Func<HubLifetimeContext,Exception,Task>)

메서드를 처리할 수 OnDisconnectedAsync(Exception) 있습니다.

적용 대상