<?php
declare(strict_types=1);
namespace Tests\Adawolfa\Retrofit;
use Adawolfa\Retrofit\HTTP\Body;
use Adawolfa\Retrofit\HTTP\Field;
use Adawolfa\Retrofit\HTTP\FormURLEncoded;
use Adawolfa\Retrofit\HTTP\GET;
use Adawolfa\Retrofit\HTTP\Header;
use Adawolfa\Retrofit\HTTP\Headers;
use Adawolfa\Retrofit\HTTP\POST;
use Adawolfa\Retrofit\HTTP\Query;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\StreamInterface;
interface Service extends ParentService
{
public function root(): string;
public function returnMixed(): mixed;
public function returnNoReturn();
public function returnResponse(): ResponseInterface;
public function returnStream(): StreamInterface;
public function returnInt(): int;
public function headers(): void;
public function header(
#[Header('A')] string $a,
#[Header('A')] string $b,
): void;
public function query(
#[Query] string $b,
#[Query] int $c = 1,
#[Query('x')] bool $d = true,
#[Query] string $e = null,
): void;
public function body(#[Body] $body): void;
public function urlEncodedBody(#[Field] string $a): void;
}