GoPlay.Core
0.2.0
See the version list below for details.
dotnet add package GoPlay.Core --version 0.2.0
NuGet\Install-Package GoPlay.Core -Version 0.2.0
<PackageReference Include="GoPlay.Core" Version="0.2.0" />
paket add GoPlay.Core --version 0.2.0
#r "nuget: GoPlay.Core, 0.2.0"
// Install GoPlay.Core as a Cake Addin #addin nuget:?package=GoPlay.Core&version=0.2.0 // Install GoPlay.Core as a Cake Tool #tool nuget:?package=GoPlay.Core&version=0.2.0
GoPlay Server Framework
GoPlay源于网络游戏开发的需求,基于C#编写的一套简单易用的RPC框架,但不限于游戏使用,可以用于解决任何实时网络通讯的问题。
How To Use
Server
[Processor("echo")]
class EchoProcessor : ProcessorBase
{
[Request("echo")]
public PbString Echo(Header header, PbString str)
{
return new PbString
{
Value = $"Server reply: {str.Value}"
};
}
Client
//Echo_Echo是自动代码生成的函数
var (status, resp) = await client.Echo_Echo(new PbString{
Value = "Hello"
});
Assert.AreEqual(StatusCode.Success, status.Code);
Assert.AreEqual("Serv reply: Hello", resp.Value);
概念
Request
- 客户端向服务端发起请求,并获得服务端回复
Notify
- 客户端向服务端发起请求,不要求服务端返回
Push
- 服务端主动推送数据给客户端
The MIT License
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Google.Protobuf (>= 3.21.12)
- LitJson (>= 0.18.0)
-
net6.0
- Google.Protobuf (>= 3.21.12)
- LitJson (>= 0.18.0)
-
net7.0
- Google.Protobuf (>= 3.21.12)
- LitJson (>= 0.18.0)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on GoPlay.Core:
Package | Downloads |
---|---|
GoPlay.Server
GoPlay.Server For more information, please go to [https://github.com/Jennal/GoPlay.Net](https://github.com/Jennal/GoPlay.Net) |
|
GoPlay.Client
GoPlay.Client For more information, please go to [https://github.com/Jennal/GoPlay.Net](https://github.com/Jennal/GoPlay.Net) |
|
GoPlay.Core.Transport.NetCoreServer
GoPlay.Core.Transport.NetCoreServer For more information, please go to [https://github.com/Jennal/GoPlay.Net](https://github.com/Jennal/GoPlay.Net) |
|
GoPlay.Core.Transport.Ws
GoPlay.Core.Transport.Ws For more information, please go to [https://github.com/Jennal/GoPlay.Net](https://github.com/Jennal/GoPlay.Net) |
|
GoPlay.Core.Transport.Wss
GoPlay.Core.Transport.Wss For more information, please go to [https://github.com/Jennal/GoPlay.Net](https://github.com/Jennal/GoPlay.Net) |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.2.23 | 212 | 11/12/2024 |
0.2.22 | 223 | 10/12/2024 |
0.2.21 | 220 | 10/11/2024 |
0.2.20 | 210 | 10/10/2024 |
0.2.19 | 270 | 9/14/2024 |
0.2.18 | 248 | 9/14/2024 |
0.2.17 | 163 | 7/31/2024 |
0.2.16 | 154 | 7/29/2024 |
0.2.15 | 272 | 7/2/2024 |
0.2.14 | 323 | 6/17/2024 |
0.2.13 | 315 | 6/17/2024 |
0.2.12 | 300 | 6/17/2024 |
0.2.11 | 283 | 6/17/2024 |
0.2.10 | 291 | 5/17/2024 |
0.2.9 | 368 | 1/15/2024 |
0.2.8 | 373 | 12/14/2023 |
0.2.7 | 307 | 12/14/2023 |
0.2.6 | 335 | 11/13/2023 |
0.2.5 | 331 | 11/4/2023 |
0.2.4 | 298 | 11/4/2023 |
0.2.3 | 290 | 11/3/2023 |
0.2.2 | 302 | 10/27/2023 |
0.2.1 | 330 | 10/21/2023 |
0.2.0 | 302 | 9/15/2023 |
0.1.0 | 247 | 7/27/2023 |