Class MorpheoCloudExtensions
Extension methods for cloud connectivity.
Inherited Members
Namespace: Morpheo.Core.Extensions
Assembly: Morpheo.Core.dll
Syntax
public static class MorpheoCloudExtensions
Methods
| Edit this page View SourceAddCentralServerRelay(IMorpheoBuilder, string)
Adds a Central Server Relay strategy using HTTP Push.
Declaration
public static IMorpheoBuilder AddCentralServerRelay(this IMorpheoBuilder builder, string serverUrl)
Parameters
| Type | Name | Description |
|---|---|---|
| IMorpheoBuilder | builder | The Morpheo builder. |
| string | serverUrl | The URL of the central server. |
Returns
| Type | Description |
|---|---|
| IMorpheoBuilder | The Morpheo builder. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if serverUrl is null or empty. |
| ArgumentException | Thrown if serverUrl is invalid. |