2 implementations of IConnectionBuilder
Microsoft.AspNetCore.Connections.Abstractions (1)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
40 references to IConnectionBuilder
InMemory.FunctionalTests (1)
Microsoft.AspNetCore.Connections.Abstractions (27)
ConnectionBuilderExtensions.cs (23)
12/// <see cref="IConnectionBuilder"/> extensions.
20/// <param name="connectionBuilder">The <see cref="IConnectionBuilder"/>.</param>
21/// <returns>The <see cref="IConnectionBuilder"/>.</returns>
22public static IConnectionBuilder UseConnectionHandler<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TConnectionHandler>(this IConnectionBuilder connectionBuilder) where TConnectionHandler : ConnectionHandler
32/// If you aren't calling the next function, use <see cref="Run(IConnectionBuilder, Func{ConnectionContext, Task})"/> instead.
34/// Prefer using <see cref="Use(IConnectionBuilder, Func{ConnectionContext, ConnectionDelegate, Task})"/> for better performance as shown below:
43/// <param name="connectionBuilder">The <see cref="IConnectionBuilder"/>.</param>
44/// <param name="middleware">The middleware to add to the <see cref="IConnectionBuilder"/>.</param>
45/// <returns>The <see cref="IConnectionBuilder"/>.</returns>
46public static IConnectionBuilder Use(this IConnectionBuilder connectionBuilder, Func<ConnectionContext, Func<Task>, Task> middleware)
60/// If you aren't calling the next function, use <see cref="Run(IConnectionBuilder, Func{ConnectionContext, Task})"/> instead.
62/// <param name="connectionBuilder">The <see cref="IConnectionBuilder"/>.</param>
63/// <param name="middleware">The middleware to add to the <see cref="IConnectionBuilder"/>.</param>
64/// <returns>The <see cref="IConnectionBuilder"/>.</returns>
65public static IConnectionBuilder Use(this IConnectionBuilder connectionBuilder, Func<ConnectionContext, ConnectionDelegate, Task> middleware)
73/// <param name="connectionBuilder">The <see cref="IConnectionBuilder"/>.</param>
74/// <param name="middleware">The middleware to add to the <see cref="IConnectionBuilder"/>.</param>
75/// <returns>The <see cref="IConnectionBuilder"/>.</returns>
76public static IConnectionBuilder Run(this IConnectionBuilder connectionBuilder, Func<ConnectionContext, Task> middleware)
Microsoft.AspNetCore.Http.Connections (2)
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.SignalR.Core (4)
Sockets.FunctionalTests (1)