Skip to content

Commit 0b53200

Browse files
committed
README updated
1 parent 9994c6d commit 0b53200

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ public async Task<IActionResult> SendAsync([FromBody]SimpleModel model)
4545
#### Startup ConfigureServices
4646
```csharp
4747
// WebSockets for Browsers
48-
services.AddNativeWebSockets(options => {
49-
options.RegisterInvocator<AgentsWebSocketCommandInvocator>(WebSocketCommands.All);
50-
});
48+
services.AddNativeWebSockets<AgentsWebSocketCommandInvocator>();
5149

5250
// Client WebSocket - Proxy connections
5351
var builder = services.AddProxyWebSockets();

0 commit comments

Comments
 (0)