fix WebSocket.cs

This commit is contained in:
sta 2010-10-23 16:31:38 +09:00
parent cdfb5f0d0f
commit 3f5215844f
22 changed files with 4 additions and 9 deletions

View File

@ -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>

View File

@ -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.