Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

[Feature request] Extend listener API to enable customization of request_id #6

@adrianM27

Description

@adrianM27

With Thunder plugins like Streamer, it is possible to create many stream sessions. App could listen to certain event from certain stream session ID, but needs to send register request with the stream session ID in params, ie;

{
"jsonrpc": "2.0",
"id": 2,
"method": "Streamer.1.register",
"params": {
"event": "statechange",
"id": "0" <-- session ID goes here, it has to be in format "id":"."
}
}

however current ThunderJs listener generates "id" as: "client..events" and seems there is no way to add a custom one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions