websocket-spec
  1. websocket-spec
  2. WEBSOCKET_SPEC-43

Allow injection of API objects into client programming model

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      • For the Client API, the only usage shown is using extends Endpoint and session.getRemote().sendString(...). I was expecting something like:

      @Inject WebSocket("/uri") webSocket;

      or may be

      @Inject WebSocketClient("/uri") wsClient;

      Then WebSocketClient can provide Session and other required properties.

        Activity

        dannycoward created issue -
        dannycoward made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee dannycoward [ dannycoward ]
        Tags v010
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            dannycoward
            Reporter:
            dannycoward
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: