• Driver parameter decorator.

    @WebSocketRoute.Driver() is a parameter decorator function for the Driver<Listener> (of tgrid) typed parameter.

    With the @WebSocketRoute.Driver() decorated parameter, you can call function of Listener typed instance provided by remote WebSocket client by calling the Driver<Listener> instance.

    For reference, this @WebSocketRoute.Driver() decorator is optional, and can be substituted by @WebSocketRoute.Acceptor() decorated parameter by calling the WebSocketAcceptor.getDriver function.

    Returns ParameterDecorator