Class
AssetDeliveryProxy
NotCreatableServiceNotReplicated
Runs a local HTTP server that serves assets to real devices.
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.
Properties 3#
Interfacestring | The network interface address that the asset-delivery HTTP server binds to.ReadSafe |
Portint | The TCP port that the asset-delivery HTTP server listens on.ReadSafe |
StartServerboolean | Controls whether the asset-delivery HTTP server is running.ReadSafe |
Interface: string#
ReadSafe
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).
Port: int#
ReadSafe
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).
StartServer: boolean#
ReadSafe
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.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild