template <>

class WireTableBuilder

Defined at line 1335 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

Public Methods

template <typename First = ::fidl::StringView, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::StringView>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_web::wire::CreateContextParams> & user_agent_product (First && first, Args &&... args_)

Optional string describing the embedding product to append to the User-Agent string.

See the specification for the

[HTTP User-Agent header](https://tools.ietf.org/html/rfc7231#section-5.5.3).

Requires that `user_agent_version` is also specified.

Defined at line 1351 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

template <typename First = ::fidl::StringView, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::StringView>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_web::wire::CreateContextParams> & user_agent_version (First && first, Args &&... args_)

Optional version for the embedding product to append to the User-Agent string.

Requires that `user_agent_product` is also specified.

Defined at line 1366 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

template <typename First = ::fidl::VectorView<::fuchsia_web::wire::ContentDirectoryProvider>, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::VectorView<::fuchsia_web::wire::ContentDirectoryProvider>>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_web::wire::CreateContextParams> & content_directories (First && first, Args &&... args_)

List of providers whose contents will be served by `fuchsia-dir://` URLs.

Defined at line 1379 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

template <typename First = ::fuchsia_web::wire::ContextFeatureFlags, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fuchsia_web::wire::ContextFeatureFlags>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_web::wire::CreateContextParams> & features (First && first, Args &&... args_)

Optional features that should be enabled for this context. Some features may also require

additional services in `service_directory`.

Defined at line 1393 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

template <typename First = ::fidl::StringView, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::StringView>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_web::wire::CreateContextParams> & playready_key_system (First && first, Args &&... args_)

Enables PlayReady CDM for the Context using the specified string as a key system

string. The string should be a reverse domain name, as required by

[EME API](https://www.w3.org/TR/encrypted-media/#key-system).

- Requires [`fuchsia.media.drm/PlayReady`] service.

- Requires that a `cdm_data_directory` be specified in [`CreateContextParams`].

Defined at line 1411 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

template <typename First = ::fidl::VectorView<::fidl::StringView>, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::VectorView<::fidl::StringView>>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_web::wire::CreateContextParams> & unsafely_treat_insecure_origins_as_secure (First && first, Args &&... args_)

Treat given insecure origins as secure origins. For the definition of secure contexts, see

[Secure Contexts](https://w3c.github.io/webappsec-secure-contexts/) and

[origin trustworthiness](https://www.w3.org/TR/powerful-features/#is-origin-trustworthy).

Example value: `{"http://a.com", "http://b.com"}`.

Defined at line 1428 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

template <typename First = ::fidl::VectorView<::fidl::VectorView<uint8_t>>, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<::fidl::VectorView<::fidl::VectorView<uint8_t>>>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_web::wire::CreateContextParams> & cors_exempt_headers (First && first, Args &&... args_)

Specifies a set of header names for which [Cross-Origin Resource Sharing

(CORS)](https://www.w3.org/TR/cors/) checks should not be enforced.

Defined at line 1442 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

template <typename First = uint64_t, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<uint64_t>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_web::wire::CreateContextParams> & cdm_data_quota_bytes (First && first, Args &&... args_)

Specifies a target maximum size for `cdm_data_directory` contents, in bytes. If the amount

of persisted CDM data exceeds this threshold, then the [`Context`] will attempt to purge

some data to meet the specified quota.

Defined at line 1457 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

template <typename First = uint64_t, typename... Args, std::enable_if_t<!std::is_same_v<cpp20::remove_cvref_t<First>, fidl::ObjectView<uint64_t>>, int> = 0>
::fidl::WireTableBuilder< ::fuchsia_web::wire::CreateContextParams> & data_quota_bytes (First && first, Args &&... args_)

Specifies a target maximum size for `data_directory` contents, in bytes.

The [`Context`] will attempt to limit browsing state (e.g. cookies, LocalStorage) to

not exceed the specified size.

Defined at line 1472 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_types.h

Friends

template <>
class CreateContextParams