util::split_location (public)

 util::split_location location protoVar hostnameVar portVar

Defined in packages/acs-tcl/tcl/utilities-procs.tcl

Split the provided location into "proto", "hostname" and "port". The results are returned on success to the provided output variables. The function supports IP-literal notation according to RFC 3986 section 3.2.2.

Parameters:
location (required)
protoVar (required)
hostnameVar (required)
portVar (required)
Returns:
boolean value indicating success
Author:
Gustaf Neumann
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_util__split_and_join_location util__split_and_join_location (test acs-tcl) util::split_location util::split_location test_util__split_and_join_location->util::split_location util::ns_set_pretty_print util::ns_set_pretty_print (private) util::split_location->util::ns_set_pretty_print

Testcases:
util__split_and_join_location
[ show source ]
Show another procedure: