Namespace Kuestenlogik.Bowire.Net
Classes
- BowireEffectiveNetwork
The network settings in force for one workspace, resolved (#680).
- BowireHttpClientFactory
Builds an HttpClient whose certificate validation callback consults LocalhostCertTrust on every request. Lets HttpClient- based protocol plugins (REST, GraphQL, SSE, MCP, OData) opt into the same loopback-cert relaxation that SignalR / WebSocket already use, without each plugin re-implementing the validation-callback dance.
Defence in depth — the relaxed callback only returns
truewhen both (a) the OS trust check failed *and* (b) IsTrustedFor(IConfiguration?, string, string) returns true for the request URL. A misconfigured production host where `Bowire:TrustLocalhostCert=true` was set against a non-loopback URL still validates strictly.
- BowireNetworkPolicy
How Bowire's outbound connections leave the machine (#680): through which proxy, past which hosts directly, and trusting which extra certificate authorities.
- BowireNetworkSettings
One layer of network settings — the global file, a workspace's override, or the host configuration. Every field is optional; a layer only says what it changes, and BowireNetworkPolicy lays them over each other.
- BowireNetworkSettingsStore
The network settings on disk:
network-config.jsonfor everyone andnetwork-config.<workspaceId>.jsonfor a workspace's override, both under the user's Bowire directory. Same layout as the AI config.
- BowireNoProxyList
The hosts that bypass the proxy (#680), in the forms a
NO_PROXYvariable or a browser's bypass list uses.
- BowireProxyNotice
Says so when a call goes direct although a proxy is configured for its host (#680) — the case where a plugin's transport cannot use the proxy. Once per plugin and host, so a stream of calls does not flood the log.
- BowireTargetPolicy
Which targets the server-side endpoints may dial on behalf of a caller.
- BowireTargetRefusedException
An outgoing request was refused because its target is outside the host's allowed targets (BowireTargetPolicy). Derives from HttpRequestException so callers that already treat transport failures as "the call did not go through" handle it without a new branch.
Interfaces
- IBowireProxySupport
Implemented by a protocol plugin to say whether its connections honour the proxy. The settings page lists it, and a call through a plugin that cannot follow an active proxy is logged as going direct — the alternative is a plugin that silently appears to work around the proxy.
Enums
- BowireProxyMode
How outbound connections find their way out (#680).
- BowireProxySupport
How far a protocol plugin's connections follow the proxy (#680).