ref_service_by_url
Description:
Looks up a Service by trying to match its
URL against the given url and then checking that the object is of the desired
type.
The service must have been previously added using add_service.
The returned Service is referenced for thread-safety and must be unreferenced with unref when finished with it.
Note this function is significantly slower than ref_service.
Parameters:
| this |
a Session |
| url |
a URL |
| type |
Returns:
|
a Service instance, or null |