Skip to content

Commit f589f6a

Browse files
Gencebay DemirGencebay Demir
authored andcommitted
README updated
1 parent a5eb7a9 commit f589f6a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ public MyController(IConnectionManager connectionManager)
2424
{
2525
_connectionManager = connectionManager;
2626
}
27-
```
28-
```
2927
[HttpPost(nameof(SendAsync))]
3028
public async Task<IActionResult> SendAsync([FromBody]SimpleModel model)
3129
{
@@ -53,14 +51,16 @@ services.AddNativeWebSockets();
5351
services.AddMvc();
5452
```
5553
> Startup Configure
54+
5655
```
5756
// Proxy (Domain App) Client WebSocket - DMZ to API side connections
5857
app.UseProxyWebSockets();
59-
6058
// User Agent WebSockets for Browsers
6159
app.UseNativeWebSockets();
6260
```
61+
6362
> Invocator With Dependency Injection on Clients
63+
6464
```
6565
public 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

0 commit comments

Comments
 (0)