Upa URL C++ library
A WHATWG URL Standard implementation
Loading...
Searching...
No Matches
upa::urlpattern_result_and_inputs Struct Reference

The result of executing the URL pattern when there is a match. More...

#include <upa/urlpattern.h>

Inheritance diagram for upa::urlpattern_result_and_inputs:
upa::urlpattern_result

Public Attributes

urlpattern_inputs inputs
Public Attributes inherited from upa::urlpattern_result
urlpattern_component_result protocol
urlpattern_component_result username
urlpattern_component_result password
urlpattern_component_result hostname
urlpattern_component_result port
urlpattern_component_result pathname
urlpattern_component_result search
urlpattern_component_result hash

Detailed Description

The result of executing the URL pattern when there is a match.

This struct extends the upa::urlpattern_result by adding an inputs member. It can be specified as a template argument for the upa::urlpattern's exec function, when the inputs member is required.

The inputs member stores references to the exec function arguments. Therefore, it can only be accessed while these arguments aren't modified or destroyed.

Definition at line 581 of file urlpattern.h.

Member Data Documentation

◆ inputs

urlpattern_inputs upa::urlpattern_result_and_inputs::inputs

Definition at line 582 of file urlpattern.h.


The documentation for this struct was generated from the following file: