T3.HTTP.DeviceHub (T3 v0.3.0)

Copy Markdown View Source

Low-level HTTP access to T3's allowlisted device-hub proxy routes. Pass query: %{"hostId" => host_id} to select a host. Codec streams remain binary, and screenshots/accessibility/control payloads are forwarded unchanged. These APIs expose the server interface; they do not boot or select devices.

Summary

Functions

Call any :devicelist, :sim or :emu_ route from the raw catalog.

Access a proxy subpath using an explicitly chosen method; the server's allowlist applies.

Stream device data with callback backpressure; MJPEG/AVCC bytes are unchanged.

Functions

call(client, route, opts \\ [])

Call any :devicelist, :sim or :emu_ route from the raw catalog.

request(client, method, path, opts \\ [])

Access a proxy subpath using an explicitly chosen method; the server's allowlist applies.

stream(client, route, callback, opts \\ [])

Stream device data with callback backpressure; MJPEG/AVCC bytes are unchanged.