Skip to content
Search

DSL References

DSL stands for Domain Specific Language. In Flow, the DSL is a set of small functions that wrap object construction so pipelines read top-to-bottom. See the examples for usage in context.

EXTRACTOR

from_dynamic_http_requests(ClientInterface $client, NextRequestFactory $requestFactory, ?Schema $schema) : PsrHttpClientDynamicExtractor
from_http_paginated(ClientInterface $client, RequestInterface $request, Paginator $paginator, ?Schema $schema) : PsrHttpClientPaginatedExtractor
/**
 * @param iterable<RequestInterface> $requests
 */
from_static_http_requests(ClientInterface $client, iterable $requests, ?Schema $schema) : PsrHttpClientStaticExtractor

HELPER

http_pagination_cursor(string $cursor_path, RequestOption $inject, bool $stop_on_client_error, ?StopWhen $stop_when) : Paginator
http_pagination_offset(RequestOption $offset_option, RequestOption $limit_option, int $limit, int $start_offset, ?string $total_path, bool $inject_on_first_request, bool $stop_on_client_error, ?StopWhen $stop_when) : Paginator
http_pagination_page_number(RequestOption $inject, int $start_page, ?int $page_size, ?RequestOption $size_option, bool $inject_on_first_request, ?string $records_path, bool $stop_on_client_error, ?StopWhen $stop_when) : Paginator
Contributors

Built in the open.

Join us on GitHub
scroll back to top