Skip to main content

Module request_metadata

Module request_metadata 

Source

Structs§

InheritRights
A flag indicating that directory rights should be inherited from the capability declaration if they were not present in an expose or offer declaration.
IntermediateRights
The directory rights associated with the previous declaration in a multi-step route.
IsolatedStoragePath
The isolated storage path in the backing directory of the providing component of a storage capability.
StorageSourceMoniker
The moniker of the component that provides a Storage porcelain capability.
StorageSubdir
The subdirectory inside of the storage backing directory’s subdirectory to use, if any. The difference between this and SubDir is that a) the SubDir generically refers to the subdirectory of a directory capability, and b) the SubDir is appended to the IsolatedStoragePath first (which is a path into a backing directory), and component_manager will create the StorageSubdir if it doesn’t exist but won’t create SubDir. Accordingly, the complete path to a storage capability within the backing directory is {IsolatedStoragePath}/{SubDir}/{StorageSubdir}.

Traits§

Metadata
A type which has accessors for route request metadata of type T.

Functions§

config_metadata
Returns a Dict containing Router Request metadata specifying a Config porcelain type.
dictionary_metadata
Returns a Dict containing Router Request metadata specifying a Dictionary porcelain type.
directory_metadata
Returns a Dict containing Router Request metadata specifying a Directory porcelain type.
event_stream_metadata
protocol_metadata
Returns a Dict containing Router Request metadata specifying a Protocol porcelain type.
resolver_metadata
Returns a Dict Containing Router Request metadata specifying a Resolver porcelain type.
runner_metadata
Returns a Dict containing Router Request metadata specifying a Runner porcelain type.
service_metadata
Returns a Dict Containing Router Request metadata specifying a Service porcelain type.
storage_metadata
Returns a Dict containing Router Request metadata specifying a Storage porcelain type.