template <>
class WireSyncClientImpl
Defined at line 4242 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::NavigationController>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_web::NavigationController::LoadUrl> LoadUrl (::fidl::StringView url, ::fuchsia_web::wire::LoadUrlParams params)
Tells the [`Frame`] to navigate to a `url`.
- `url`: The address to navigate to.
- `params`: Additional parameters that affect how the resource will be loaded (e.g.
cookies, HTTP headers, etc.)
If an error occurred, the [`NavigationControllerError`] will be set to one of these values:
- `INVALID_URL`: The `url` parameter is invalid.
- `INVALID_HEADER`: At least one of the headers in [`LoadUrlParams.headers`] is invalid.
Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.
::fidl::OneWayStatus GoBack ()
Tells the [`Frame`] to navigate to the previous page in its history, if any.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus GoForward ()
Tells the [`Frame`] to navigate to the next page in its history, if any.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus Stop ()
Tells the [`Frame`] to stop the current navigation if a navigation is ongoing.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus Reload (::fuchsia_web::wire::ReloadType type)
Tells the [`Frame`] to reload the current page.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.