共用方式為


WebSocketsDependencyInjectionExtensions 類別

定義

用來新增 WebSockets 組態的 IServiceCollection 擴充方法。

public ref class WebSocketsDependencyInjectionExtensions abstract sealed
public static class WebSocketsDependencyInjectionExtensions
type WebSocketsDependencyInjectionExtensions = class
Public Module WebSocketsDependencyInjectionExtensions
繼承
WebSocketsDependencyInjectionExtensions

方法

AddWebSockets(IServiceCollection, Action<WebSocketOptions>)

用來新增 WebSockets 組態的 IServiceCollection 擴充方法。

適用於