HyperBuilder
component {
property name="hyper" inject="HyperBuilder@hyper";
function index( event, rc, prc ) {
var reqA = hyper.new();
// reqA is a new HyperRequest instance.
var reqB = hyper.setUrl( "https://swapi.dev/api/people" );
// reqB is a new HyperRequest instance with the url set.
}
}component {
function init() {
variables.hyper = new hyper.models.HyperBuilder();
}
}
