template <>

class WireSyncClientImpl

Defined at line 482 of file fidling/gen/sdk/fidl/fuchsia.component.resolution/fuchsia.component.resolution/cpp/fidl/fuchsia.component.resolution/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_component_resolution::Resolver>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_component_resolution::Resolver::Resolve> Resolve (::fidl::StringView component_url)

Resolves a component with the given absolute URL.

`component_url` is the unescaped URL of the component to resolve.

If successful, returns information about the component

that was resolved.

On failure, returns a `ResolverError` error.

Request is heap-allocated. Response is heap-allocated.

::fidl::WireResult< ::fuchsia_component_resolution::Resolver::ResolveWithContext> ResolveWithContext (::fidl::StringView component_url, const ::fuchsia_component_resolution::wire::Context & context)

Resolves a component with the absolute or relative URL. If relative, the

component will be resolved relative to the supplied `context`.

`component_url` is the unescaped URL of the component to resolve, the

format of which can be either:

* a fully-qualified absolute component URL; or

* a subpackaged-component reference, prefixed by a URI relative

path to its containing subpackage (for example,

`child_package#meta/some_component.cm`)

`context` is the `resolution_context` of a previously-resolved

`Component`, providing the context for resoving a relative URL.

Request is heap-allocated. Response is heap-allocated.