mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
* feat: mercure_publish() PHP function to dispatch Mercure updates * fix stubs for old versions * review * cleanup and fixes
39 lines
864 B
PHP
39 lines
864 B
PHP
<?php
|
|
|
|
/** @generate-class-entries */
|
|
|
|
function frankenphp_handle_request(callable $callback): bool {}
|
|
|
|
function headers_send(int $status = 200): int {}
|
|
|
|
function frankenphp_finish_request(): bool {}
|
|
|
|
/**
|
|
* @alias frankenphp_finish_request
|
|
*/
|
|
function fastcgi_finish_request(): bool {}
|
|
|
|
function frankenphp_request_headers(): array {}
|
|
|
|
/**
|
|
* @alias frankenphp_request_headers
|
|
*/
|
|
function apache_request_headers(): array {}
|
|
|
|
/**
|
|
* @alias frankenphp_request_headers
|
|
*/
|
|
function getallheaders(): array {}
|
|
|
|
function frankenphp_response_headers(): array|bool {}
|
|
|
|
/**
|
|
* @alias frankenphp_response_headers
|
|
*/
|
|
function apache_response_headers(): array|bool {}
|
|
|
|
/**
|
|
* @param string|string[] $topics
|
|
*/
|
|
function mercure_publish(string|array $topics, string $data = '', bool $private = false, ?string $id = null, ?string $type = null, ?int $retry = null): string {}
|