COROIO: NNet::TUri Class Reference
COROIO
 
Loading...
Searching...
No Matches
NNet::TUri Class Reference

Parsed HTTP request URI: /path?key=value&...#fragment. More...

#include <httpd.hpp>

Public Member Functions

 TUri (const std::string &uriStr)
 Parses uriStr into path, query parameters, and fragment.
 
const std::string & Path () const
 Returns the decoded path component (e.g. "/api/v1/users").
 
const std::map< std::string, std::string > & QueryParameters () const
 Returns query parameters as a key→value map (e.g. {"page": "2"}).
 
const std::string & Fragment () const
 Returns the fragment (the part after #), or empty string if absent.
 

Detailed Description

Parsed HTTP request URI: /path?key=value&...#fragment.

Constructed from the raw URI string found in the request line. Provides typed access to the path, query parameters, and fragment.


The documentation for this class was generated from the following files: