blob: 1405d90c63b71f8344ad788242689414586e3248 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<?php
/**
* Very simple interface for encoding and decoding input
* This is used to provide compression and serialization to messages
**/
interface iJetpack_Sync_Codec {
// we send this with the payload so we can select the appropriate decoder at the other end
public function name();
public function encode( $object );
public function decode( $input );
}
|