Files
old-experiments/backend/wordpress/wp-content/plugins/jetpack/sync/interface.jetpack-sync-codec.php
2018-06-20 18:28:39 +02:00

15 lines
366 B
PHP

<?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 );
}