class UrlRequestRewriteReplaceUrl
Defined at line 7068 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.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 Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::std::string & url_ends_with ()
Defined at line 7074 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool has_url_ends_with ()
Defined at line 7078 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
::std::string * mutable_url_ends_with ()
Defined at line 7082 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_url_ends_with ()
Defined at line 7090 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
const ::std::string & new_url ()
Defined at line 7098 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
bool has_new_url ()
Defined at line 7102 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
::std::string * mutable_new_url ()
Defined at line 7106 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
void clear_new_url ()
Defined at line 7114 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h
UrlRequestRewriteReplaceUrl & set_url_ends_with (::std::string _value)
UrlRequestRewriteReplaceUrl & set_new_url (::std::string _value)
void UrlRequestRewriteReplaceUrl ()
void UrlRequestRewriteReplaceUrl (UrlRequestRewriteReplaceUrl && other)
void ~UrlRequestRewriteReplaceUrl ()
UrlRequestRewriteReplaceUrl & operator= (UrlRequestRewriteReplaceUrl && other)
::std::unique_ptr<UrlRequestRewriteReplaceUrl> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, UrlRequestRewriteReplaceUrl * _value, size_t _offset)
zx_status_t Clone (UrlRequestRewriteReplaceUrl * _result)