Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example UsageArgumentsReturn Value
ufs.rsUrl(path);path - string of the path you want the rest call to send a 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/path

[s] – if applicable

...

wsUrl

...

Example Usage

...

Arguments

 

 

 

 

 

 

 

...

Return Value
ufs.wsUrl(path, wsport, host);

path - string of the path you want the websocket call to send a request to

wsport - the websocket port (undefined will use the current port)

host - the websocket host (undefined will use the current host)

a string of the form:

ws[s]://host:port/onos/ui/websock/path

[s] – if applicable