UrlFnService - URL Function Service
UrlFnService is an Angular Factory in the Remote module with the name urlfn.js
. It provides functions that build rest and websocket URLs for rest and websocket requests. To use these functions, see the documentation on injecting Angular services.
Function Descriptions
rsUrl
Example Usage | Arguments | Return Value |
---|---|---|
ufs.rsUrl(path ); | path - string of the path you want the rest call to request to – just the ending path, this function will construct the rest of the URL for you | a string of the form: http[s]://<HOST>:<PORT>/onos/ui/rs/ [s] – if applicable |
wsUrl