{"id":21528482,"url":"https://github.com/hellokitty/gladnet.asp.client","last_synced_at":"2025-03-17T18:45:22.058Z","repository":{"id":84548265,"uuid":"61779159","full_name":"HelloKitty/GladNet.ASP.Client","owner":"HelloKitty","description":"GladNet2 client API implemented for ASP-backed servers over HTTP.","archived":false,"fork":false,"pushed_at":"2017-05-06T15:16:56.000Z","size":171,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T06:11:19.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HelloKitty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-23T06:12:23.000Z","updated_at":"2016-06-25T07:53:57.000Z","dependencies_parsed_at":"2023-03-08T08:15:17.189Z","dependency_job_id":null,"html_url":"https://github.com/HelloKitty/GladNet.ASP.Client","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloKitty%2FGladNet.ASP.Client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloKitty%2FGladNet.ASP.Client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloKitty%2FGladNet.ASP.Client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloKitty%2FGladNet.ASP.Client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HelloKitty","download_url":"https://codeload.github.com/HelloKitty/GladNet.ASP.Client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244092002,"owners_count":20396713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T01:53:26.841Z","updated_at":"2025-03-17T18:45:22.052Z","avatar_url":"https://github.com/HelloKitty.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GladNet.ASP.Client\n\nGladNet2 is a message based networking API library for for Unity3D/.Net developers. Defines an API from which other lowerlevel network libraries can be adapted to.\n\nCome chat: [![https://gitter.im/HelloKitty/GladNet2.0y](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/HelloKitty/GladNet2.0?utm_source=share-link\u0026utm_medium=link\u0026utm_campaign=share-link)\n\nGladNet.ASP.Client is GladNet2 client API implemented for ASP-backed servers over HTTP.\n\n## Implementations\n\nLidgren's: https://github.com/HelloKitty/GladNet2-Lidgren\n\nPhoton Server's: https://github.com/HelloKitty/GladNet.PhotonServer\n\nASP.Client (Client Only): https://github.com/HelloKitty/GladNet.ASP.Client\n\n## Setup\n\nTo use this project you'll first need a couple of things:\n  - Visual Studio 2015\n  - Add Nuget Feed https://www.myget.org/F/hellokitty/api/v2 in VS (Options -\u003e NuGet -\u003e Package Sources)\n\n## Builds\n\n[TBA]\n\n# How does this Work?\n\nGladNet.ASP.Client isn't really specifically targeting ASP web services. GladNet.ASP.Client communicates with web services/servers through HTTP by sending requests, and receiving responses, from these services/servers. \n\nYou may wonder why ASP is explicitly included in the title of this library. This is because of how GladNet.ASP.Client handles GladNet API requests over HTTP. Simply stated, the HTTP requests can easily fit the routing scheme for ASP Web API/Controllers. The end-point URL for requests in all current GladNet.ASP.Client implementations fits the simple scheme detailed in the below section.\n\n##### Request Scheme\n\n```\n\nHTTP POST to {BaseUrl}/api/{GladNet.Common.PacketPayload Name}\n\n```\n\nAnyone familiar to ASP will recognize that this is a simple routing scheme for Web API controllers. (Fun Fact: Sharing a payload library between client and server allows you compile-time checked routing using nameof in C# 6)\n\n##### What does this mean for non-ASP web services/servers? \n\nIt means only that your HTTP POST handling for these requests should fit the ASP routing scheme laid out above. So long as you respond using the [GladNet Payload API](https://github.com/HelloKitty/GladNet2/tree/master/src/GladNet.Payload) using the same [serialization](https://github.com/HelloKitty/GladNet2/tree/master/src/GladNet.Serializer) scheme this client may communicate with your webserver.\n\n##### Why is there no corresponding server library?\n\nThere used to be no server library. However, with the new GladNet 2.x routing changes and changes to the message API it is now required to implement the very light server library.\n\nIf you do not implemented the library you must know that the client expects servers to accept and deserialization incoming NetworkMessages in the request bodies of the POST requests.\n\n##Tests\n\n#### Linux/Mono - Unit Tests\n||Debug x86|Debug x64|Release x86|Release x64|\n|:--:|:--:|:--:|:--:|:--:|:--:|\n|**master**| N/A | N/A | N/A | [![Build Status](https://travis-ci.org/HelloKitty/GladNet.ASP.Client.svg?branch=master)](https://travis-ci.org/HelloKitty/GladNet.ASP.Client) |\n|**dev**| N/A | N/A | N/A | [![Build Status](https://travis-ci.org/HelloKitty/GladNet.ASP.Client.svg?branch=dev)](https://travis-ci.org/HelloKitty/GladNet.ASP.Client)|\n\n#### Windows - Unit Tests\n\n(Done locally)\n\n##Licensing\n\nThis project is licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellokitty%2Fgladnet.asp.client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellokitty%2Fgladnet.asp.client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellokitty%2Fgladnet.asp.client/lists"}