uri::validate 方法

验证字符串为 URI。

_ASYNCRTIMP static bool __cdecl validate(
   const utility::string_t &uri_string
);

参数

  • uri_string
    要验证的 uri 字符串。

返回值

如果给定的字符串表示有效的 URI,则为 true;否则为 false

要求

**标头:**base_uri.h

**命名空间:**web::http

请参见

参考

uri 类