telescope icon indicating copy to clipboard operation
telescope copied to clipboard

Doesn't support server streaming rpc methods in services

Open stalniy opened this issue 8 months ago • 0 comments

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)));
  };

stalniy avatar Feb 17 '25 05:02 stalniy