Skip to content

idea: tighter protocol #14

@dominictarr

Description

@dominictarr

okay, so @owenb needs a tighter protocol for socket-stream.

ideas:

  • use numbers to indicate message types or, the first character.
  • drop ids if the message is from the same id as the previous one.
  • use a length delimited protocol, not JSON.

I think that should get the protocol down pretty small, without changing the semantics.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions