PreparedPush
in package
FinalYes
Подготовленный push: HTTP-запрос и характеристики батча.
Размер тела и количество записей фиксируются в момент сборки — отправителю не приходится восстанавливать их из запроса.
Table of Contents
Properties
- $bodyBytes : int
- $entries : int
- $request : TransportRequest
Methods
- __construct() : mixed
Properties
$bodyBytes read-only
public
int
$bodyBytes
$entries read-only
public
int
$entries
$request read-only
public
TransportRequest
$request
Methods
__construct()
public
__construct(TransportRequest $request, int $bodyBytes, int $entries) : mixed
Parameters
- $request : TransportRequest
-
готовый HTTP-запрос
- $bodyBytes : int
-
размер тела запроса, байты
- $entries : int
-
количество записей в батче