class UrlRequestRewriteReplaceUrl

Defined at line 5503 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/natural_types.h

If the URL in the URL request ends with `url_ends_with`, rewrites the URL to `new_url`.

- `url_ends_with` and `new_url` must be set.

- `url_ends_with` must be a valid

[path-relative-URL string](https://url.spec.whatwg.org/#path-relative-url-string).

- `new_url` must be a [valid URL string](https://url.spec.whatwg.org/#valid-url-string).

Public Methods

void UrlRequestRewriteReplaceUrl (Storage_ storage)
void UrlRequestRewriteReplaceUrl ()

Defined at line 5508 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/natural_types.h

void UrlRequestRewriteReplaceUrl (UrlRequestRewriteReplaceUrl && )

Defined at line 5509 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/natural_types.h

void UrlRequestRewriteReplaceUrl (const UrlRequestRewriteReplaceUrl & other)
UrlRequestRewriteReplaceUrl & operator= (UrlRequestRewriteReplaceUrl && )

Defined at line 5510 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/natural_types.h

UrlRequestRewriteReplaceUrl & operator= (const UrlRequestRewriteReplaceUrl & other)
bool operator== (const UrlRequestRewriteReplaceUrl & other)
bool operator!= (const UrlRequestRewriteReplaceUrl & other)
bool IsEmpty ()
const std::optional< ::std::string> & url_ends_with ()
::std::optional< ::std::string> & url_ends_with ()
UrlRequestRewriteReplaceUrl & url_ends_with (std::optional< ::std::string> value)

Setter for url_ends_with.

const std::optional< ::std::string> & new_url ()
::std::optional< ::std::string> & new_url ()
UrlRequestRewriteReplaceUrl & new_url (std::optional< ::std::string> value)

Setter for new_url.

void UrlRequestRewriteReplaceUrl (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalTableCodingTraits