Skip to content

Allow DotNet SignalR to work with AWS WebSockets API #913

Open
@genifycom

Description

@genifycom

My goal is to allow DotNet SignalR client and server to communicate via the AWS WebSockets API.

This would allow us to use Blazor server-side components in an AWS Lambda DotNet application.

After looking at this for some time I believe that we need a new HttpTransportType which is part LongPolling (for the incoming HTTPRequest to Lambda from AWS WebSockets API) and part WebSockets (for the immediate response back to the AWS WebSockets API).

The client will perform its normal SignalR request to AWS WebSockets API which will then forward the HTTP request to the Lambda function (with the connection id) which would route this request to the appropriate Hub and the Hub will immediately respond to the connection id with the result.

I have started to look at the Microsoft.AspNet.SignalR source code here https://github.com/SignalR/SignalR

Is anyone here more familiar with this code and could help point me to some locations to insert this new HttpTransportType?

Thanks for any assistance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions