OnConnectionAsync(ConnectionContext, ConnectionDelegate)
abstract
public abstract Task OnConnectionAsync(ConnectionContext context, ConnectionDelegate next) Called when a connection is established. Implementations should call
next to continue the pipeline after performing their work. Parameters
contextConnectionContext- The connection context.
nextConnectionDelegate- The next delegate in the connection pipeline.
