Skip to content

feature request: make request ID generation on client configurable #1524

@torkelrogstad

Description

@torkelrogstad

I want to be able to generate my own request IDs on the client. Currently this is done by RequestIdManager, which monotonically increases IDs by 1 for each request. I'm writing a CLI application. This application does precisely one RPC call before exiting. This means that for every invocation of the CLI application the request ID is 0, which is kind of meaningless.

It'd be nice to be able to specify my own request ID creator, in which I could generate a random number that actually would give each request a unique identifier.

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