Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 422 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 422 Bytes

ProtooSharp

ported to .NET from protoo

Usage

in ASP.NET

var builder = WebApplication.CreateBuilder();

builder.Services.AddProtooServer<WebSocketServer>(); // add protoo server

var app = builder.Build();

app.UseWebSockets(); // use websockets before map protoo server
app.MapProtooServer<WebSocketServer>("/{your}/{route}"); //map protoo server

app.Run();