Methods
(static) executeRequest(req) → {object}
Executes a single HTTP request via the shared executeHttpRequest() helper and shapes the roku-requests result into the pool's response AA (invalid URL → an error AA so the waiting orchestrator still unblocks). Auth/timeout/Content-Type live in the helper.
Parameters:
| Name | Type | Description |
|---|---|---|
req | object | request AA: { requestId, method, url, headers?, body?, timeout? } |
- Source
Returns:
response AA: { requestId, ok, statusCode, json, text }
- Type:
- object
(static) init() → {void}
- Source
Returns:
- Type:
- void
(static) runApiLoop() → {void}
Continuous-server event loop (Architecture C). Waits for request field writes, executes HTTP via roku-requests, writes response. Never exits — lives for the lifetime of the app alongside the global pool.
- Source
Returns:
- Type:
- void