AssetDeliveryProxy
Runs a local HTTP server that serves assets to real devices.
| Memory category | Instances |
|---|
Member index 3
Description
Internal service for remote asset delivery; not intended for game scripts. It backs the remote hot-reload workflow: IncrementalPatchBuilder builds a signed patch and this proxy serves it, along with any overridden assets, over HTTP to the connected device. The server runs on its own thread and is controlled through AssetDeliveryProxy.StartServer, AssetDeliveryProxy.Interface, and AssetDeliveryProxy.Port.
History 16
- 731 Change Default of StartServer from to false
- 731 Change Default of Port from to 0
- 726 Change Default of StartServer from false to
- 726 Change Default of Port from 0 to
- 563 Change Default of StartServer from to false
- 563 Change Default of Port from to 0
- 563 Change Default of Interface from to
- 554 Change Default of StartServer from false to
- 554 Change Default of Port from 0 to
- 554 Change Default of Interface from to
- 553 Change Default of StartServer from to false
- 553 Change Default of Port from to 0
- 549 Add StartServer
- 549 Add Port
- 549 Add Interface
- 455 Add AssetDeliveryProxy
Members 3
Interface
| Type | Default | |
|---|---|---|
| string | ||
Sets the local network interface (address) that the proxy's HTTP server
binds to when it starts. Defaults to an empty string. Assigning a value
schedules the server to restart, but a new interface only takes effect
while the server is running — that is, once
AssetDeliveryProxy.StartServer is true (it defaults to false).
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
Port
| Type | Default | |
|---|---|---|
| int | 0 | |
The TCP port the proxy's HTTP server listens on. Defaults to 0, which
tells the server to pick an available port automatically. While the server
is running, reading this property returns the port actually in use rather
than the configured value. A new port only takes effect when the server
(re)starts via AssetDeliveryProxy.StartServer (defaults to
false).
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
StartServer
| Type | Default | |
|---|---|---|
| bool | false | |
Controls whether the proxy's HTTP server is running. Setting it to true
schedules the server to start; setting it to false stops it. Defaults to
false, so the server is off until you enable it. Because the server only
(re)starts while this is true, changes to
AssetDeliveryProxy.Interface and AssetDeliveryProxy.Port
take effect only when this property is true.
| Thread safety | ReadSafe |
|---|---|
| Category | Data |
| Loaded/Saved | true |
History 6
- 731 Change Default of StartServer from to false
- 726 Change Default of StartServer from false to
- 563 Change Default of StartServer from to false
- 554 Change Default of StartServer from false to
- 553 Change Default of StartServer from to false
- 549 Add StartServer