prxy
Build intelligent proxies with automatic routing, load balancing, and caching at 300+ edge locations. Handle millions of requests with <10ms overhead and zero configuration.
prxy
Prxy.do
Overview
The prxy primitive is part of the .do platform's semantic API system. It follows the $.Subject.verb.Object pattern for consistent, intuitive interactions across SDK, CLI, API, and MCP interfaces.
Semantic Pattern
All prxy operations follow the semantic $.Prxy.verb.Object pattern:
import { $, prxy } from 'sdk.do'
// Create resources
await $.Prxy.create.Resource({ /* config */ })
// Query data
await $.Prxy.get.Data({ /* params */ })
// Update state
await $.Prxy.update.Status({ /* changes */ })Quick Start
import { prxy } from 'sdk.do'
// Initialize and use the primitive
const result = await prxy.operation({
// configuration parameters
})Access Methods
The prxy primitive is accessible through multiple interfaces:
SDK
TypeScript/JavaScript library for programmatic access:
import { prxy } from 'sdk.do'
await prxy.method({ /* ... */ })CLI
Command-line interface for terminal operations:
do prxy <command> [options]API
REST/RPC endpoints for HTTP integration:
curl -X POST https://api.do/v1/prxy \
-H "Content-Type: application/json" \
-d '{"key":"value"}'MCP
Model Context Protocol for AI assistant integration:
Use prxy primitives with AI assistants via MCPRelated Primitives
See other primitives in the infrastructure category.
colo
Deploy directly to Cloudflare's colocation network with <10ms latency worldwide. Access 300+ edge locations, automatic failover, and bare-metal performance at cloud scale.
studio
Ship production-ready code with full type safety, instant autocomplete, and time-travel debugging. Build, test, and deploy with zero configuration and complete observability built-in.