GoPlay.Server
0.2.5
See the version list below for details.
dotnet add package GoPlay.Server --version 0.2.5
NuGet\Install-Package GoPlay.Server -Version 0.2.5
<PackageReference Include="GoPlay.Server" Version="0.2.5" />
paket add GoPlay.Server --version 0.2.5
#r "nuget: GoPlay.Server, 0.2.5"
// Install GoPlay.Server as a Cake Addin #addin nuget:?package=GoPlay.Server&version=0.2.5 // Install GoPlay.Server as a Cake Tool #tool nuget:?package=GoPlay.Server&version=0.2.5
GoPlay Server Framework
GoPlay originated from the demand for online game development. It is a simple, easy-to-use, low learning curve, and out-of-the-box RPC framework based on C#, but not limited to game usage. It can be used to solve any real-time network communication problems.
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 is a function generated automatically by code.
var (status, resp) = await client.Echo_Echo(new PbString{
Value = "Hello"
});
Assert.AreEqual(StatusCode.Success, status.Code);
Assert.AreEqual("Serv reply: Hello", resp.Value);
Concepts
Request
- Client sends a request to the server and expects a response from the server.
Notify
- Client sends a request to the server without requiring a response from the server.
Push
- The server actively pushes data to the client.
Thanks
Thanks to JetBrains for providing an open source license for GoPlay.Net.
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 | 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. |
-
net6.0
- GoPlay.Core (>= 0.2.5)
-
net7.0
- GoPlay.Core (>= 0.2.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.2.23 | 65 | 11/12/2024 |
0.2.22 | 91 | 10/12/2024 |
0.2.21 | 81 | 10/11/2024 |
0.2.20 | 78 | 10/10/2024 |
0.2.19 | 97 | 9/14/2024 |
0.2.18 | 105 | 9/14/2024 |
0.2.17 | 79 | 7/31/2024 |
0.2.16 | 68 | 7/29/2024 |
0.2.15 | 112 | 7/2/2024 |
0.2.14 | 115 | 6/17/2024 |
0.2.13 | 114 | 6/17/2024 |
0.2.12 | 104 | 6/17/2024 |
0.2.11 | 115 | 6/17/2024 |
0.2.10 | 117 | 5/17/2024 |
0.2.9 | 188 | 1/15/2024 |
0.2.8 | 171 | 12/14/2023 |
0.2.7 | 111 | 12/14/2023 |
0.2.6 | 163 | 11/13/2023 |
0.2.5 | 138 | 11/4/2023 |
0.2.4 | 126 | 11/4/2023 |
0.2.3 | 129 | 11/3/2023 |
0.2.2 | 146 | 10/27/2023 |
0.2.1 | 139 | 10/21/2023 |
0.2.0 | 154 | 9/15/2023 |
0.1.0 | 165 | 7/27/2023 |