fix WebSocket.cs
This commit is contained in:
parent
cdfb5f0d0f
commit
3f5215844f
@ -2,7 +2,7 @@
|
|||||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Release_Ubuntu" ctype="Workspace" />
|
<MonoDevelop.Ide.Workspace ActiveConfiguration="Release_Ubuntu" ctype="Workspace" />
|
||||||
<MonoDevelop.Ide.Workbench ActiveDocument="websocket-sharp/WebSocket.cs" ctype="Workbench">
|
<MonoDevelop.Ide.Workbench ActiveDocument="websocket-sharp/WebSocket.cs" ctype="Workbench">
|
||||||
<Files>
|
<Files>
|
||||||
<File FileName="websocket-sharp/WebSocket.cs" Line="204" Column="1" />
|
<File FileName="websocket-sharp/WebSocket.cs" Line="1" Column="1" />
|
||||||
</Files>
|
</Files>
|
||||||
</MonoDevelop.Ide.Workbench>
|
</MonoDevelop.Ide.Workbench>
|
||||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||||
|
@ -48,19 +48,13 @@ namespace WebSocketSharp
|
|||||||
private Uri uri;
|
private Uri uri;
|
||||||
public string Url
|
public string Url
|
||||||
{
|
{
|
||||||
get
|
get { return uri.ToString(); }
|
||||||
{
|
|
||||||
return uri.ToString();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private volatile WsState readyState;
|
private volatile WsState readyState;
|
||||||
public WsState ReadyState
|
public WsState ReadyState
|
||||||
{
|
{
|
||||||
get
|
get { return readyState; }
|
||||||
{
|
|
||||||
return readyState;
|
|
||||||
}
|
|
||||||
|
|
||||||
private set
|
private set
|
||||||
{
|
{
|
||||||
@ -315,6 +309,7 @@ namespace WebSocketSharp
|
|||||||
{
|
{
|
||||||
int j = response[i].IndexOf(":");
|
int j = response[i].IndexOf(":");
|
||||||
protocol = response[i].Substring(j + 1).Trim();
|
protocol = response[i].Substring(j + 1).Trim();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
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.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user