PHP Интерфейс Larabros\Elogram\Http\Clients\AdapterInterface

Автор: Hassan Khan ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
paginate ( Response $response, integer | null $limit = null ) : Response Paginates a :php:class:Response.
request ( string $method, string $uri, array $parameters = [] ) : Response Sends a HTTP request. Use this method as a convenient way of making requests with built-in exception-handling.

Описание методов

paginate() публичный Метод

Paginates a :php:class:Response.
public paginate ( Response $response, integer | null $limit = null ) : Response
$response Larabros\Elogram\Http\Response
$limit integer | null If not set, the client will paginate as far as possible
Результат Larabros\Elogram\Http\Response

request() публичный Метод

Sends a HTTP request. Use this method as a convenient way of making requests with built-in exception-handling.
public request ( string $method, string $uri, array $parameters = [] ) : Response
$method string
$uri string
$parameters array
Результат Larabros\Elogram\Http\Response