uri::split_path Method

Splits a path into its hierarchical components.

_ASYNCRTIMP static std::vector<utility::string_t> __cdecl split_path(
   const utility::string_t &path
);

Parameters

  • path
    The path as a string

Return Value

A std::vector<utility::string_t> containing the segments in the path.

Requirements

Header: base_uri.h

Namespace: web::http

See Also

Reference

uri Class