template <>

class WireSyncClientImpl

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

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_web::Context>|,

avoiding setting up a client.

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`].

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::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`].

Allocates 16 bytes of response buffer on the stack. Request is heap-allocated.

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

Used to observe cookies for sites hosted under this Context.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::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.

Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.