Expand description
HTTP client for the ObjectiveAI API.
This module provides the HTTP client implementation for making requests to the ObjectiveAI API. It supports both unary (request-response) and streaming (Server-Sent Events) communication patterns.
§Feature Flag
This module is only available when the http feature is enabled (default).
§Components
HttpClient- The main client for making API requestsHttpError- Error types for HTTP operations
Modules§
- viewer
- Viewer HTTP client + request wire shapes.
Structs§
- Http
Client - HTTP client for making requests to the ObjectiveAI API.
- Notifier
- Client-side handle for sending notifies to a running agent completion (or any other streaming endpoint) over the same WS that carries the chunk stream.
- Reject
Handler - Default handler that 501s every
server_request. Used when the calling client doesn’t host objectiveai-mcp — agents that declareclient_objectiveai_mcpwill see this and fall through to the next fallback agent on the server side.
Enums§
- Http
Error - Errors that can occur during HTTP operations.
Traits§
- McpHandler
- Handler for inbound
server_requestframes on a streaming WS.