#include <src/ipfs_client/redirects.h>
|
| | Directive (std::string_view from, std::string_view to, int status) |
| |
|
std::uint16_t | rewrite (std::string &) const |
| |
|
std::string | error () const |
| |
|
bool | valid () const |
| |
A directive (a non-empty line without comments) inside a _redirects file
◆ Directive()
| ipfs ::redirects::Directive::Directive |
( |
std::string_view |
from, |
|
|
std::string_view |
to, |
|
|
int |
status |
|
) |
| |
- Parameters
-
| from | path/glob to match against |
| to | partial path to replace from with |
| status | HTTP status to use in successful response that hit this rule |
The documentation for this class was generated from the following file: