Expand description
weirdnet.ext.v1: the protobuf contract between a Weirdnet extension host and its
extensions, with tonic client and server stubs. See proto/weirdnet/ext/v1/ext.proto.
App-specific services (such as Morph’s morph.ext.v1) travel inside v1::CallRequest
and v1::AppEvent as prost-encoded bytes, so this contract stays the same for every app.
Modules§
- tonic_
status - tonic’s status types, for implementing services without a direct tonic dependency.
- v1
- The generated messages and stubs.
Constants§
- API_
VERSION - The host API version this contract describes.
- ENV_FD
- The environment variable holding the file descriptor of the extension’s end of the
private socket the host made for it (Unix). The extension needs no
socket()call. - ENV_ID
- The environment variable holding the extension id.
- ENV_
SOCKET - The environment variable holding a host socket path instead (or a named pipe on Windows).
- ENV_
TOKEN - The environment variable holding the one-time token.
- SESSION_
HEADER - The session metadata key sent on every call after the handshake.