Skip to main content

$headers

Callable


  • Create a new headers instance with the given options.

    Example

    $headers({
    foo: $string
    bar: $integer
    })
    @deprecated

    Parameters

    Returns ObjectType<Record<string, Node>>