File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ public MyController(IConnectionManager connectionManager)
2424{
2525 _connectionManager = connectionManager;
2626}
27- ```
28- ```
2927[HttpPost(nameof(SendAsync))]
3028public async Task<IActionResult> SendAsync([FromBody]SimpleModel model)
3129{
@@ -53,14 +51,16 @@ services.AddNativeWebSockets();
5351services.AddMvc();
5452```
5553> Startup Configure
54+
5655```
5756// Proxy (Domain App) Client WebSocket - DMZ to API side connections
5857app.UseProxyWebSockets();
59-
6058// User Agent WebSockets for Browsers
6159app.UseNativeWebSockets();
6260```
61+
6362> Invocator With Dependency Injection on Clients
63+
6464```
6565public class CustomWebSocketCommandInvocator : IClientWebSocketCommandInvocator
6666{
@@ -79,10 +79,10 @@ public class CustomWebSocketCommandInvocator : IClientWebSocketCommandInvocator
7979}
8080```
8181
82- #### Prerequisites
82+ ### Prerequisites
8383> [ ASP.NET Core] ( https://github.com/aspnet/Home )
8484
85- #### Installation
85+ ### Installation
8686
8787> dotnet restore
8888
You can’t perform that action at this time.
0 commit comments