class UrlRequestRewriteRule

Defined at line 7424 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

const ::std::vector< ::std::string> & hosts_filter ()

Set of hosts to apply the rules to. If not set, the rule will apply to every request,

independent of host.

Defined at line 7432 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

bool has_hosts_filter ()

Defined at line 7436 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

::std::vector< ::std::string> * mutable_hosts_filter ()

Set of hosts to apply the rules to. If not set, the rule will apply to every request,

independent of host.

Defined at line 7442 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

void clear_hosts_filter ()

Defined at line 7450 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

const ::std::vector< ::std::string> & schemes_filter ()

Set of schemes to apply the rules to. If not set, the rule will apply to every request,

independent of scheme.

Defined at line 7460 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

bool has_schemes_filter ()

Defined at line 7464 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

::std::vector< ::std::string> * mutable_schemes_filter ()

Set of schemes to apply the rules to. If not set, the rule will apply to every request,

independent of scheme.

Defined at line 7470 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

void clear_schemes_filter ()

Defined at line 7478 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

const ::std::vector< ::fuchsia::web::UrlRequestRewrite> & rewrites ()

URL request rewrites to apply.

Defined at line 7487 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

bool has_rewrites ()

Defined at line 7491 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

::std::vector< ::fuchsia::web::UrlRequestRewrite> * mutable_rewrites ()

URL request rewrites to apply.

Defined at line 7496 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

void clear_rewrites ()

Defined at line 7504 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

const ::fuchsia::web::UrlRequestAction & action ()

Specifies the action to take for requests matching the filter criteria.

Requests are allowed by default.

Defined at line 7514 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

bool has_action ()

Defined at line 7518 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

::fuchsia::web::UrlRequestAction * mutable_action ()

Specifies the action to take for requests matching the filter criteria.

Requests are allowed by default.

Defined at line 7524 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

void clear_action ()

Defined at line 7532 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/hlcpp/fuchsia/web/cpp/fidl.h

UrlRequestRewriteRule & set_hosts_filter (::std::vector< ::std::string> _value)
UrlRequestRewriteRule & set_schemes_filter (::std::vector< ::std::string> _value)
UrlRequestRewriteRule & set_rewrites (::std::vector< ::fuchsia::web::UrlRequestRewrite> _value)
UrlRequestRewriteRule & set_action (::fuchsia::web::UrlRequestAction _value)
void UrlRequestRewriteRule ()
void UrlRequestRewriteRule (UrlRequestRewriteRule && other)
void ~UrlRequestRewriteRule ()
UrlRequestRewriteRule & operator= (UrlRequestRewriteRule && other)
::std::unique_ptr<UrlRequestRewriteRule> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, UrlRequestRewriteRule * _value, size_t _offset)
zx_status_t Clone (UrlRequestRewriteRule * _result)