[Modify] Edit it
This commit is contained in:
parent
5e43180aaa
commit
bcb05f04ce
@ -493,8 +493,9 @@ As a WebSocket server, you should create a new instance of the `WebSocketServer`
|
|||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
var wssv = new WebSocketServer (5963, true);
|
var wssv = new WebSocketServer (5963, true);
|
||||||
wssv.SslConfiguration.ServerCertificate =
|
wssv.SslConfiguration.ServerCertificate = new X509Certificate2 (
|
||||||
new X509Certificate2 ("/path/to/cert.pfx", "password for cert.pfx");
|
"/path/to/cert.pfx", "password for cert.pfx"
|
||||||
|
);
|
||||||
```
|
```
|
||||||
|
|
||||||
### HTTP Authentication ###
|
### HTTP Authentication ###
|
||||||
|
Loading…
Reference in New Issue
Block a user