Fixed a few typo
This commit is contained in:
parent
64d12eb5cf
commit
34f33d8e31
16
README.md
16
README.md
@ -134,19 +134,19 @@ Creating a class that inherits `WebSocketService` class.
|
|||||||
|
|
||||||
For example, if you want to provide the echo service,
|
For example, if you want to provide the echo service,
|
||||||
|
|
||||||
```cs
|
```cs
|
||||||
using System;
|
using System;
|
||||||
using WebSocketSharp;
|
using WebSocketSharp;
|
||||||
using WebSocketSharp.Server;
|
using WebSocketSharp.Server;
|
||||||
|
|
||||||
public class Echo : WebSocketService
|
public class Echo : WebSocketService
|
||||||
{
|
{
|
||||||
protected override void onMessage(object sender, MessageEventArgs e)
|
protected override void onMessage(object sender, MessageEventArgs e)
|
||||||
{
|
{
|
||||||
Send(e.Data);
|
Send(e.Data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
For example, if you want to provide the chat service,
|
For example, if you want to provide the chat service,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user