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

Doesn't support server streaming rpc methods in services #732

Open
stalniy opened this issue Feb 17, 2025 · 0 comments
Open

Doesn't support server streaming rpc methods in services #732

stalniy opened this issue Feb 17, 2025 · 0 comments

Comments

@stalniy
Copy link

stalniy commented Feb 17, 2025

Client has all generated methods as unary methods, I'd expect telescope to generate something different for server streaming rpc methods.

Example of generated streaming method:

  /* StreamCertificates */
  streamCertificates = async (request: QueryCertificatesRequest): Promise<QueryCertificatesResponse> => {
    const data = QueryCertificatesRequest.encode(request).finish();
    const promise = this.rpc.request("akash.cert.v1beta3.Query", "StreamCertificates", data);
    return promise.then(data => QueryCertificatesResponse.decode(new BinaryReader(data)));
  };
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