WebSocketsDependencyInjectionExtensions.AddWebSockets(IServiceCollection, Action<WebSocketOptions>) WebSocketsDependencyInjectionExtensions.AddWebSockets(IServiceCollection, Action<WebSocketOptions>) WebSocketsDependencyInjectionExtensions.AddWebSockets(IServiceCollection, Action<WebSocketOptions>) Method

Definition

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddWebSockets (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.Builder.WebSocketOptions> configure);
static member AddWebSockets : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.Builder.WebSocketOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddWebSockets (services As IServiceCollection, configure As Action(Of WebSocketOptions)) As IServiceCollection

Parameters

Returns

Applies to