BalancerGetServerFromBalancerAsync Method Open Real Time Connectivity Application Programming Interface Help
Retrieves an Ortc Server url from the Ortc Balancer

Namespace: Ibt.Ortc.Api.Extensibility
Assembly: Ibt.Ortc.Api.Extensibility (in Ibt.Ortc.Api.Extensibility.dll) Version: 2.1.14.0 (2.1.14)
Syntax

public static void GetServerFromBalancerAsync(
	string balancerUrl,
	string applicationKey,
	OnBalancerUrlResolvedDelegate onClusterUrlResolved
)

Parameters

balancerUrl
Type: SystemString
The Ortc Balancer url.
applicationKey
Type: SystemString

[Missing <param name="applicationKey"/> documentation for "M:Ibt.Ortc.Api.Extensibility.Balancer.GetServerFromBalancerAsync(System.String,System.String,Ibt.Ortc.Api.Extensibility.OnBalancerUrlResolvedDelegate)"]

onClusterUrlResolved
Type: Ibt.Ortc.Api.ExtensibilityOnBalancerUrlResolvedDelegate
Callback that is raised after an Ortc server url have been retrieved from the Ortc balancer.
Remarks

Examples

String url = "http://ortc-developers.realtime.co/server/2.1/";
Balancer.GetServerFromBalancer(url, applicationKey, (server) =>
    {
        //Do something with the returned server      
    });
See Also

Reference