respond
Responds with status, headers and body as UTF-8, from the request's own URL.
Return
the step.
Parameters
the status, in 100..599; 200 by default.
the response headers; none by default. Shared by reference (immutable).
the body text, encoded as UTF-8; empty by default.
the delay before the answer; zero by default.
Throws
Responds with status, headers and the bytes of body, from the request's own URL.
Return
the step.
Parameters
the status, in 100..599.
the response headers. Shared by reference (immutable).
the body; copied now, so a later change to the array changes nothing.
the delay before the answer; zero by default.
Throws
Responds with whatever response builds for the request: a response with a redirectChain, another final URL, or anything else the built-in shapes cannot express. It runs once per call.
Return
the step.
Parameters
the delay before response runs; zero by default.
builds the response; an exception it throws propagates out of execute.
Throws
if delay is negative.