MCPAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

LibTmux.Mcp.ServerPolicy.FromEnvironment

API reference · Markdown

LibTmux.Mcp.ServerPolicy.FromEnvironment ( read : Func<string, string?> , logger : ILogger? ) → ServerPolicy
methodstatic [source]

Reads the policy out of a set of environment variables.

Parameters
  • read ( Func<string, string?> ) – Answers an environment variable, or null when it is unset.

  • logger ( ILogger? ) – Records a clamped or unreadable value.

Returns

The resolved policy.

Esc

Type to search.