https://github.com/flagbug/espera.network
Network classes and helpers for the Espera remote control API
https://github.com/flagbug/espera.network
Last synced: 8 months ago
JSON representation
Network classes and helpers for the Espera remote control API
- Host: GitHub
- URL: https://github.com/flagbug/espera.network
- Owner: flagbug
- License: mit
- Created: 2014-02-25T16:33:12.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-03-12T18:05:16.000Z (about 11 years ago)
- Last Synced: 2024-12-10T01:44:54.818Z (over 1 year ago)
- Language: C#
- Homepage: http://getespera.com/
- Size: 412 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Espera.Network
This repository contains the DTOs and network protocol helpers for the [Espera](https://github.com/flagbug/Espera) remote control API.
## Protocol
The protocol is a simple fixed-header TCP protocol
### Structure
Each message begins with a 4-byte header that describes the length of the message content.
This is followed by a GZip-compressed, JSON-serialized representation of the
[NetworkMessage](https://github.com/flagbug/Espera.Network/blob/master/Espera.Network/NetworkMessage.cs) class.