Skip to content

Wopple/chump-objc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CHUMP

CHUMP is the CHUnked Message Protocol. It is a minimal message passing protocol.

Protocol


version 0

int16 -- version of the protocol (0x00 0x00)
int16 -- type of the message (user defined)
int16 -- tag (user defined, can be used to track responses)
uint16 -- number of bytes in the payload
byte[] -- the payload (arbitrary length array of bytes, may be empty)

Implementations


CHUMP is designed to be a language independent protocol.

  1. Java (https://github.com/Wopple/chump-java)
  2. Objective-C (https://github.com/Wopple/chump-objc)

Origin


I started this project while developing an Android app with a friend. We were originally using HTTP which was far too heavy considering the small size and simplistic nature of our client server messages. CHUMP provided us with a protocol that is very lightweight in library size, data overhead, and speed while still being sufficient for our needs. CHUMP may be useful to you for another purpose.

About

Minimal message passing protocol in objective-c

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published