PHP 인터페이스 Larabros\Elogram\Http\Clients\AdapterInterface

저자: Hassan Khan ([email protected])
파일 보기 프로젝트 열기: larabros/elogram

공개 메소드들

메소드 설명
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