public void SetConnectionHandler(WSConnectionHandler handler) { _parentHandler = handler; }
public WSMiddleware(RequestDelegate next, WSConnectionHandler wsConnectionHandler) { _next = next; _wsConnectionHandler = wsConnectionHandler; }