ClientServiceProxyFactory acts as central provider of client service
proxies.
public function getClientServiceProxyByUrl(url:String):ClientServiceProxyReturns a client service proxy that is fully configured and ready for usage.
url | the complete url to the service |
a configured client service proxy
public function getClientServiceProxyByUrlAndType(url:String, type:Function)
Returns a proxy that can be casted to the passed-in type (class or
interface).
The type is therefore normally the type of the service you want to
invoke methods on.
url | the complete url to the service |
type | the type of the service |
a proxy that can be casted to the passed-in type