Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
uriparser/Uri.h
✓ #include <uriparser/Uri.h>
Parse a URI and print its scheme
#include <uriparser/Uri.h>
#include <stdio.h>
int main() {
UriUriA uri;
const char* input = "https://example.com/path?query=1";
if (uriParseSingleUriA(&uri, input, NULL) == URI_SUCCESS) {
printf("Scheme: %.*s\n", (int)(uri.scheme.afterLast - uri.scheme.first), uri.scheme.first);
uriFreeUriMembersA(&uri);
}
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.