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:

Testcases:
util__split_and_join_location
[ show source ]
Show another procedure: