<?php
interface WP_JSON_ResponseHandler {
/**
* Handle serving an API request
*
* Matches the current server URI to a route and runs the first matching
* callback then outputs a JSON representation of the returned value.
*/
public function serve_request( $path = null );
/**
* Retrieve the raw request entity (body)
*
* @return string
*/
public function get_raw_data();
}