Fixed a few typo
This commit is contained in:
24
README.md
24
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,
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user