Capy-Bearer Documentation

unit_render

lib call

Capy

function unit_render(name : string, request : capture any)

Description

unit_render runs a unit RENDER handler.

Parameters

request : the caller's request, captured when omitted

name : unit path

Example

Capy

unit_render("/doc/examples/sample_unit.capy")

Output

hello from the sample unit