Skip to main content

Module client

Module client 

Source
Expand description

A thin client for a running bridge’s HTTP control plane.

Both bridge request and bridge harvest ... are clients of the same control-plane endpoint (POST /__bridge/request): they serialise a ControlRequest, attach the bearer token and X-Omni-Bridge header, and read back a ResponseEnvelope. This type centralises that auth/endpoint construction so every caller exercises the same dispatch path rather than opening its own socket.

Structs§

BridgeClient
A client bound to one running bridge’s control plane.