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

Allow UnifiedMessages to be transported over webapi #1438

Open
xPaw opened this issue Sep 26, 2024 · 0 comments
Open

Allow UnifiedMessages to be transported over webapi #1438

xPaw opened this issue Sep 26, 2024 · 0 comments

Comments

@xPaw
Copy link
Member

xPaw commented Sep 26, 2024

The point of unified messages is that they can work both over CM and webapi, and Steam does this have implementing underlying "service transport"

We have WebAPI method that does Task<T> CallProtobufAsync<T> where you have to manually provide the request and response types.

We can make this nicer (after #1433), that the calling could would be similar, but the request would be sent over http instead of cm.

SK uses it here for example:

var response = await directory.CallProtobufAsync<CContentServerDirectory_GetServersForSteamPipe_Response, CContentServerDirectory_GetServersForSteamPipe_Request>(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant