Fixed a few typo
This commit is contained in:
@@ -5,7 +5,7 @@ using System.Runtime.CompilerServices;
|
||||
// Change them to the values specific to your project.
|
||||
|
||||
[assembly: AssemblyTitle("websocket-sharp")]
|
||||
[assembly: AssemblyDescription("A C# implementation of a WebSocket protocol client")]
|
||||
[assembly: AssemblyDescription("A C# implementation of WebSocket protocol client & server")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("websocket-sharp.dll")]
|
||||
@@ -17,7 +17,7 @@ using System.Runtime.CompilerServices;
|
||||
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
|
||||
[assembly: AssemblyVersion("1.0.1.*")]
|
||||
[assembly: AssemblyVersion("1.0.2.*")]
|
||||
|
||||
// The following attributes are used to specify the signing key for the assembly,
|
||||
// if desired. See the Mono documentation for more information about signing.
|
||||
|
@@ -34,8 +34,8 @@ namespace WebSocketSharp.Server
|
||||
public interface IWebSocketServer
|
||||
{
|
||||
void AddService(WebSocketService service);
|
||||
void Close();
|
||||
void Close(CloseStatusCode code, string reason);
|
||||
void CloseService();
|
||||
void CloseService(CloseStatusCode code, string reason);
|
||||
void Ping(string data);
|
||||
void RemoveService(WebSocketService service);
|
||||
void Send(byte[] data);
|
||||
|
@@ -173,12 +173,12 @@ namespace WebSocketSharp.Server
|
||||
_services.Add(service);
|
||||
}
|
||||
|
||||
public void Close()
|
||||
public void CloseService()
|
||||
{
|
||||
Close(CloseStatusCode.NORMAL, String.Empty);
|
||||
CloseService(CloseStatusCode.NORMAL, String.Empty);
|
||||
}
|
||||
|
||||
public void Close(CloseStatusCode code, string reason)
|
||||
public void CloseService(CloseStatusCode code, string reason)
|
||||
{
|
||||
lock (_services.SyncRoot)
|
||||
{
|
||||
@@ -248,7 +248,7 @@ namespace WebSocketSharp.Server
|
||||
public void Stop()
|
||||
{
|
||||
_tcpListener.Stop();
|
||||
Close();
|
||||
CloseService();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user