Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass request messages across transport layer #18

Open
realityforge opened this issue Mar 25, 2020 · 0 comments
Open

Pass request messages across transport layer #18

realityforge opened this issue Mar 25, 2020 · 0 comments

Comments

@realityforge
Copy link
Member

realityforge commented Mar 25, 2020

The first step is to rework the request system so that all of the inputs/outputs are explicit.

Inputs include:

  • SessionID
  • RequestID
  • Job Name/Service+method name
  • Job Parameters

Outputs include:

  • Request Complete Flag
  • Job Return value

Make sure this transports across the WebSocket transport.

The description from the equivalent rose issue:

Essentially replicant should be able to send json requests back and forth and receive a response back from the server. The request will just take a requestId and a json object. The server will be responsible for adding a handler to get the json blob and then optionally sending a response back as either an ok message or a specialized response message that contains the response json object.

realityforge added a commit that referenced this issue Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant