Skip to content

Commit 7c5cf35

Browse files
authored
Update README.md
1 parent bfef130 commit 7c5cf35

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ operation with same interface.
1414

1515
#### Startup ConfigureServices
1616
```csharp
17-
// Add socket services.
18-
services.AddNativeWebSockets(options => {
19-
options.RegisterInvocator<ServerWebSocketCommandInvocator>(WebSocketCommands.All);
20-
});
17+
// Add NetCoreStack Native Socket Services.
18+
services.AddNativeWebSockets<ServerWebSocketCommandInvocator>();
2119
```
2220

2321
#### Startup Configure
@@ -115,4 +113,4 @@ public class ClientDiscoveryController : Controller
115113
```
116114

117115
### Prerequisites
118-
> [ASP.NET Core](https://github.com/aspnet/Home)
116+
> [ASP.NET Core](https://github.com/aspnet/Home)

0 commit comments

Comments
 (0)