apimatic/core-interfaces-php

View on GitHub
src/Core/Response/ResponseInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace CoreInterfaces\Core\Response;

use CoreInterfaces\Sdk\ConverterInterface;

interface ResponseInterface
{
    public function getStatusCode(): int;
    /**
     * @return array<string,mixed>
     */
    public function getHeaders(): array;
    public function getRawBody(): string;
    public function getBody();
    public function convert(ConverterInterface $converter);
}