Arduino DLNA Server
HttpRequestRewrite.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "basic/Str.h"
4 
5 namespace tiny_dlna {
6 
12  public:
13  HttpRequestRewrite(const char* from, const char* to) {
14  this->from = StrView(from);
15  this->to = StrView(to);
16  }
19 };
20 
21 } // namespace tiny_dlna
Object which information about the rewrite rule.
Definition: HttpRequestRewrite.h:11
HttpRequestRewrite(const char *from, const char *to)
Definition: HttpRequestRewrite.h:13
StrView from
Definition: HttpRequestRewrite.h:17
StrView to
Definition: HttpRequestRewrite.h:18
A simple wrapper to provide string functions on char*. If the underlying char* is a const we do not a...
Definition: StrView.h:25
Definition: Allocator.h:6