Class HttpHostingService
HTTP implementation of hosting service.
Implements
Inherited Members
Namespace: UnityEditor .AddressableAssets .HostingServices
Assembly: Unity.Addressables.Editor.dll
Syntax
public class HttpHostingService : BaseHostingService, IHostingService
Constructors
Name | Description |
---|---|
Http |
Create a new Http |
Properties
Name | Description |
---|---|
Hosting |
List of content roots for hosting service. |
Hosting |
The port number on which the service is listening |
Is |
Gets the current running status of the hosting service. |
My |
The actual Http listener used by this service |
Profile |
Dictionary of profile variables defined by the hosting service. |
Upload |
The upload speed that files were be served at, in kbps |
Methods
Name | Description |
---|---|
Configure |
Handles any configuration necessary for My |
~Http |
Destroys a Http |
Find |
Searches for the given relative path within the configured content root directores. |
Get |
Find an open network listen port on the local system |
Handle |
Asynchronous callback to handle a client connection request on My |
Is |
Tests to see if the given port # is already in use |
On |
Called immediatley following a domain reload by the HostingServicesManager, for restoring state information after the service is recreated. |
On |
Called by the HostingServicesManager before a domain reload, giving the hosting service an opportunity to persist state information. |
On |
Render the hosting service GUI. |
Reset |
Listen on a new port the next time the server starts. If the server is already running, it will be stopped and restarted automatically. |
Return404(Http |
Sets the status code to 404 on the given |
Return |
Sends a file to the connected HTTP client |
Start |
Starts the hosting service. |
Stop |
Temporarily stops the service from receiving requests. |