• Acceptor parameter decorator.

    @WebSocketRoute.Acceptor() is a parameter decorator function for the WebSocketAcceptor<Header, Provider, Listener> (of tgrid) typed parameter.

    In the controller method decorated by @WebSocketRoute() and @WebSocketRoute.Acceptor(), call WebSocketAcceptor.accept function with Provider instance when you want to accept the WebSocket client connection. Otherwise you want to reject the connection, call WebSocketAcceptor.rejcet function instead.

    For reference, this @WebSocketRoute.Acceptor() parameter decorator is essential for the method decorated by @WebSocketRoute() decorator. If you forget it, it would be both compilation/runtime error.

    Returns ParameterDecorator