template <>

class WireSyncBufferClientImpl

Defined at line 845 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_messaging.h

Public Methods

::fidl::OneWayStatus CreateFrame (::fidl::ServerEnd< ::fuchsia_web::Frame> && frame)

Creates a new [`Frame`] under this [`Context`]. Destruction of a [`Context`] triggers the

destruction of all of its associated [`Frame`]. [`Frame`] can be transferred to another

component but cannot be shared across multiple components.

- `frame`: An interface request that will be bound to the created [`Frame`].

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::OneWayStatus CreateFrameWithParams (::fuchsia_web::wire::CreateFrameParams params, ::fidl::ServerEnd< ::fuchsia_web::Frame> && frame)

Similar to [`Context.CreateFrame`], with extra parameters.

- `params`: The configuration used to create the [`Frame`].

This method will fail with `ZX_ERR_INVALID_ARGS` if the table is not clonable.

- `frame`: An interface request that will be bound to the created [`Frame`].

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::OneWayStatus GetCookieManager (::fidl::ServerEnd< ::fuchsia_web::CookieManager> && manager)

Used to observe cookies for sites hosted under this Context.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.

::fidl::WireUnownedResult< ::fuchsia_web::Context::GetRemoteDebuggingPort> GetRemoteDebuggingPort ()

Waits until debugging is available on one or more Frames, and returns the DevTools port

number. Multiple calls may be queued to received the port number.

If an error occurred, the [`ContextError`] will be set to this value:

- `REMOTE_DEBUGGING_PORT_NOT_OPENED`: `remote_debugging_port` was not set in

[`CreateContextParams`] or the remote debugging service failed to start.

Caller provides the backing storage for FIDL message via an argument to `.buffer()`.