Skip to main content

transport

Typed specification

Generated by the pinned ess generate --kind docs from ess. Structural validation establishes consistency; behaviour, storage and cross-record predicates remain implementation obligations.

Bounded private transport values without credential or dispatch authority.

connectors.transport is one of connectors's bounded contexts. Back to the index.

Types​

HttpResponsePrefix​

connectors.transport.HttpResponsePrefix is a record of four fields:

  • status — Integer
  • headers — Map<String, String>
  • body — List<Integer>
  • complete — Boolean

PrivateReadBudget​

connectors.transport.PrivateReadBudget is a record of five fields:

  • deadline_ticks — Integer
  • execution_ms — Integer
  • provider_ms — Integer
  • input_bytes — Integer
  • result_bytes — Integer

Every value satisfies (execution_ms >= 1 and execution_ms <= 40000), (provider_ms >= 1 and provider_ms <= 30000), (input_bytes >= 1 and input_bytes <= 262144) and (result_bytes >= 1 and result_bytes <= 4194304).

TextBodyOutcome​

connectors.transport.TextBodyOutcome is one of text, capacity and upstream_protocol.

UpgradeBounds​

connectors.transport.UpgradeBounds is a record of three fields:

  • max_message_bytes — Integer
  • max_total_bytes — Integer
  • timeout_ms — Integer

Every value satisfies (max_message_bytes >= 1 and max_message_bytes <= 16777216), (max_total_bytes >= 1 and max_total_bytes <= 67108864) and (timeout_ms >= 1 and timeout_ms <= 120000).

UpgradeOutcome​

connectors.transport.UpgradeOutcome is one of not_sent, answered, lost and accepted.

UpgradedStreamEnd​

connectors.transport.UpgradedStreamEnd is one of closed, lost, truncated and deadline.

Six of the types above are reached by nothing else in this system: connectors.transport.HttpResponsePrefix, connectors.transport.PrivateReadBudget, connectors.transport.TextBodyOutcome, connectors.transport.UpgradeBounds, connectors.transport.UpgradeOutcome and connectors.transport.UpgradedStreamEnd. No entity, view, command, event, error or crossing names them, so it is either vocabulary something outside this specification uses or a leftover — and only a person can tell which.


Generated from connectors v1 · model digest e1e1672d0af4753cb8f2da6c0b22a7f6ae8ce9f7abc168f86169babdf1325787 · contract digest slice-sha256/2:ad2fed177a0edfe3016055a8e7f3bf756e7b4375dc583fa9aef1d7e25f8d8b45. Do not edit this file; change the specification and regenerate it with ess generate.