MySQL 9.1.0
Source Code Documentation
RestApiComponentPath Class Reference

Helper class to make unregistering paths in plugins easier. More...

#include <rest_api_component.h>

Public Member Functions

 RestApiComponentPath (RestApiComponent &rest_api_srv, std::string regex, std::unique_ptr< BaseRestApiHandler > endpoint)
 
 ~RestApiComponentPath ()
 

Private Attributes

RestApiComponentrest_api_srv_
 
std::string regex_
 

Detailed Description

Helper class to make unregistering paths in plugins easier.

Constructor & Destructor Documentation

◆ RestApiComponentPath()

RestApiComponentPath::RestApiComponentPath ( RestApiComponent rest_api_srv,
std::string  regex,
std::unique_ptr< BaseRestApiHandler endpoint 
)
inline

◆ ~RestApiComponentPath()

RestApiComponentPath::~RestApiComponentPath ( )
inline

Member Data Documentation

◆ regex_

std::string RestApiComponentPath::regex_
private

◆ rest_api_srv_

RestApiComponent& RestApiComponentPath::rest_api_srv_
private

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