websocket-spec
  1. websocket-spec
  2. WEBSOCKET_SPEC-3

Specification needs to distinguish better between client and server functionality

    Details

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

      Description

      Currently the API classes and specification do not allow for a very clean separation between

      client-only functions (initiating a connection from an endpoint)
      server-only functions (publishing an endpoint to accept incoming connections)
      common functions: bi-directional messaging over an established connection.

      We will need the separation so the specification can clearly define the websocket requirements on client and server platforms, and cleanly produce two API bundles - client API and server API.

      Currently I am thinking the the client API does not support publishing endpoints and the server API does not support initiating a connection to endpoints. Also that the server API has to be embedded in a Java EE web container. But there may be demand for a 'standalone' server API in which case we may need to look at how to separate the server requirements appropriately. i.e. standalone is not required to inject the HttpSession.

        Activity

          People

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

            Dates

            • Due:
              Created:
              Updated:
              Resolved: