Skip to content

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

@stalniy

Description

@stalniy

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

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