Methods
(static) executeRequest(req) → {object}
Executes a single HTTP request via roku-requests.
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