Skip to main content

php_call

Function php_call 

Source
pub fn php_call(
    method: &str,
    uri: &str,
    body: Option<&str>,
) -> Result<PhpCallResult, String>
Expand description

Call PHP from JS. Returns (status, body, content_type).

Used by JSC’s globalThis.__bext_php() function and the NAPI export.