Skip to content

Long-lived streaming from server to client. #69

@rogerworld

Description

@rogerworld

Hello Tradias,

Thank you for this great library, it makes grpc very easy to understand specially when dealing with asynchronous API.
I'm trying to implement the observer design pattern using asio grpc for a long-lived streaming
The client subscribes to a subject, then the server notify all connected clients subscibed to that subject each time a data is available.

The rpc is something like that:

service Longlived { rpc Subscribe(Request) returns (stream Response) {} }

Is it possible to implement it using asio grpc?

Thank you for your help in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions