[Modify] Edit it
This commit is contained in:
parent
f93a1890e4
commit
5e43180aaa
@ -457,11 +457,7 @@ As a WebSocket server, if you would like to ignore the extensions requested from
|
|||||||
```csharp
|
```csharp
|
||||||
wssv.AddWebSocketService<Chat> (
|
wssv.AddWebSocketService<Chat> (
|
||||||
"/Chat",
|
"/Chat",
|
||||||
() =>
|
s => s.IgnoreExtensions = true // To ignore the extensions requested from a client.
|
||||||
new Chat () {
|
|
||||||
// To ignore the extensions requested from a client.
|
|
||||||
IgnoreExtensions = true
|
|
||||||
}
|
|
||||||
);
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user