3 namespace Friendica\Capabilities;
5 use Friendica\Network\HTTPException;
8 * This interface provides the capability to handle requests from clients and returns the desired outcome
10 interface ICanHandleRequests
13 * @param array $post The $_POST content (in case of POST)
14 * @param array $request The $_REQUEST content (in case of GET, POST)
16 * @return string Returns the content of the module as string
18 * @throws HTTPException\InternalServerErrorException
20 public function run(array $post = [], array $request = []): string;