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

Support :transport option #22

Open
borkdude opened this issue Oct 14, 2020 · 1 comment
Open

Support :transport option #22

borkdude opened this issue Oct 14, 2020 · 1 comment

Comments

@borkdude
Copy link
Contributor

borkdude commented Oct 14, 2020

Transport indicates the message format which is currently only bencode.

  • If (load-pod ... {:transport :edn}) is specified, the message format will be in EDN.
  • Similar for :transport :json and :transport :transit.

Note that you can then combine transit payloads within edn messages, since the payload format is specified in the describe op reply.

Users will have to know which :transport option a pod supports, which should be documented in their README. If nothing is stated, :transport :bencode is assumed.

@borkdude
Copy link
Contributor Author

Transport is the wrong name. It should say :format :edn which means message format EDN?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant