Fixed a few typo
This commit is contained in:
parent
cf6b26503e
commit
b1463379af
69
Example/Example.csproj
Normal file
69
Example/Example.csproj
Normal file
@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.21022</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{52805AEC-EFB1-4F42-BB8E-3ED4E692C568}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>Example</RootNamespace>
|
||||
<AssemblyName>example</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<BaseDirectory>.</BaseDirectory>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug</OutputPath>
|
||||
<DefineConstants>DEBUG</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Externalconsole>true</Externalconsole>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Externalconsole>true</Externalconsole>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug_Ubuntu|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug_Ubuntu</OutputPath>
|
||||
<DefineConstants>DEBUG,NOTIFY</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Externalconsole>true</Externalconsole>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_Ubuntu|AnyCPU' ">
|
||||
<DebugType>none</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Release_Ubuntu</OutputPath>
|
||||
<DefineConstants>NOTIFY</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Externalconsole>true</Externalconsole>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="notify-sharp, Version=0.4.0.0, Culture=neutral, PublicKeyToken=2df29c54e245917a">
|
||||
<Package>notify-sharp</Package>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\websocket-sharp\websocket-sharp.csproj">
|
||||
<Project>{B357BAC7-529E-4D81-A0D2-71041B19C8DE}</Project>
|
||||
<Name>websocket-sharp</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
</Project>
|
BIN
Example/Example.pidb
Normal file
BIN
Example/Example.pidb
Normal file
Binary file not shown.
BIN
Example/bin/Debug/example.exe
Executable file
BIN
Example/bin/Debug/example.exe
Executable file
Binary file not shown.
BIN
Example/bin/Debug/example.exe.mdb
Normal file
BIN
Example/bin/Debug/example.exe.mdb
Normal file
Binary file not shown.
BIN
Example/bin/Debug/websocket-sharp.dll
Executable file
BIN
Example/bin/Debug/websocket-sharp.dll
Executable file
Binary file not shown.
BIN
Example/bin/Debug/websocket-sharp.dll.mdb
Normal file
BIN
Example/bin/Debug/websocket-sharp.dll.mdb
Normal file
Binary file not shown.
BIN
Example/bin/Debug_Ubuntu/example.exe
Executable file
BIN
Example/bin/Debug_Ubuntu/example.exe
Executable file
Binary file not shown.
BIN
Example/bin/Debug_Ubuntu/example.exe.mdb
Normal file
BIN
Example/bin/Debug_Ubuntu/example.exe.mdb
Normal file
Binary file not shown.
BIN
Example/bin/Debug_Ubuntu/websocket-sharp.dll
Executable file
BIN
Example/bin/Debug_Ubuntu/websocket-sharp.dll
Executable file
Binary file not shown.
BIN
Example/bin/Debug_Ubuntu/websocket-sharp.dll.mdb
Normal file
BIN
Example/bin/Debug_Ubuntu/websocket-sharp.dll.mdb
Normal file
Binary file not shown.
BIN
Example/bin/Release/example.exe
Executable file
BIN
Example/bin/Release/example.exe
Executable file
Binary file not shown.
BIN
Example/bin/Release/websocket-sharp.dll
Executable file
BIN
Example/bin/Release/websocket-sharp.dll
Executable file
Binary file not shown.
BIN
Example/bin/Release_Ubuntu/example.exe
Executable file
BIN
Example/bin/Release_Ubuntu/example.exe
Executable file
Binary file not shown.
BIN
Example/bin/Release_Ubuntu/websocket-sharp.dll
Executable file
BIN
Example/bin/Release_Ubuntu/websocket-sharp.dll
Executable file
Binary file not shown.
BIN
Example1/Example1.pidb
Normal file
BIN
Example1/Example1.pidb
Normal file
Binary file not shown.
BIN
Example1/bin/Debug/example1.exe
Executable file
BIN
Example1/bin/Debug/example1.exe
Executable file
Binary file not shown.
BIN
Example1/bin/Debug/example1.exe.mdb
Normal file
BIN
Example1/bin/Debug/example1.exe.mdb
Normal file
Binary file not shown.
BIN
Example1/bin/Debug/websocket-sharp.dll
Executable file
BIN
Example1/bin/Debug/websocket-sharp.dll
Executable file
Binary file not shown.
BIN
Example1/bin/Debug/websocket-sharp.dll.mdb
Normal file
BIN
Example1/bin/Debug/websocket-sharp.dll.mdb
Normal file
Binary file not shown.
BIN
Example1/bin/Debug_Ubuntu/example1.exe
Executable file
BIN
Example1/bin/Debug_Ubuntu/example1.exe
Executable file
Binary file not shown.
BIN
Example1/bin/Debug_Ubuntu/example1.exe.mdb
Normal file
BIN
Example1/bin/Debug_Ubuntu/example1.exe.mdb
Normal file
Binary file not shown.
BIN
Example1/bin/Debug_Ubuntu/websocket-sharp.dll
Executable file
BIN
Example1/bin/Debug_Ubuntu/websocket-sharp.dll
Executable file
Binary file not shown.
BIN
Example1/bin/Debug_Ubuntu/websocket-sharp.dll.mdb
Normal file
BIN
Example1/bin/Debug_Ubuntu/websocket-sharp.dll.mdb
Normal file
Binary file not shown.
BIN
Example1/bin/Release/example1.exe
Executable file
BIN
Example1/bin/Release/example1.exe
Executable file
Binary file not shown.
BIN
Example1/bin/Release/websocket-sharp.dll
Executable file
BIN
Example1/bin/Release/websocket-sharp.dll
Executable file
Binary file not shown.
BIN
Example1/bin/Release_Ubuntu/example1.exe
Executable file
BIN
Example1/bin/Release_Ubuntu/example1.exe
Executable file
Binary file not shown.
BIN
Example1/bin/Release_Ubuntu/websocket-sharp.dll
Executable file
BIN
Example1/bin/Release_Ubuntu/websocket-sharp.dll
Executable file
Binary file not shown.
@ -26,7 +26,7 @@ So `WebSocket` class inherits `IDisposable` interface, you can use `using` state
|
||||
|
||||
### Step 3 ###
|
||||
|
||||
Setting of `WebSocket` event handlers.
|
||||
Setting `WebSocket` event handlers.
|
||||
|
||||
#### WebSocket.OnOpen event ####
|
||||
|
||||
@ -64,7 +64,7 @@ So **type** of received WebSocket data frame is stored in `e.Type` (`WebSocketSh
|
||||
|
||||
If `e.Type` is `Opcode.TEXT`, you operate `e.Data` (`WebSocketSharp.MessageEventArgs.Data`, its type is `string`).
|
||||
|
||||
if `e.Type` is `Opcode.BINARY`, you operate `e.RawData` (`WebSocketSharp.MessageEventArgs.RawData`, its type is `byte[]`).
|
||||
If `e.Type` is `Opcode.BINARY`, you operate `e.RawData` (`WebSocketSharp.MessageEventArgs.RawData`, its type is `byte[]`).
|
||||
|
||||
#### WebSocket.OnError event ####
|
||||
|
||||
@ -102,7 +102,7 @@ Sending data.
|
||||
|
||||
`WebSocket.Send` method is overloaded.
|
||||
|
||||
data types are `string`, `byte[]` and `FileInfo` class.
|
||||
`data` types are `string`, `byte[]` and `FileInfo` class.
|
||||
|
||||
### Step 6 ###
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
<Properties>
|
||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Release_Ubuntu" />
|
||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
|
||||
<MonoDevelop.Ide.Workbench ActiveDocument="websocket-sharp/WebSocket.cs">
|
||||
<Files>
|
||||
<File FileName="websocket-sharp/WebSocket.cs" Line="428" Column="39" />
|
||||
<File FileName="websocket-sharp/WebSocket.cs" Line="220" Column="8" />
|
||||
</Files>
|
||||
</MonoDevelop.Ide.Workbench>
|
||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
|
BIN
websocket-sharp/bin/Debug/websocket-sharp.dll
Executable file
BIN
websocket-sharp/bin/Debug/websocket-sharp.dll
Executable file
Binary file not shown.
BIN
websocket-sharp/bin/Debug/websocket-sharp.dll.mdb
Normal file
BIN
websocket-sharp/bin/Debug/websocket-sharp.dll.mdb
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user