Skip to main content

Module xmlrpc

Module xmlrpc 

Source
Expand description

XML-RPC server implementation

This module implements an XML-RPC server over HTTP that allows LLM control over RPC method execution, introspection, and response generation.

XML-RPC specification: http://xmlrpc.com/spec.md

The LLM controls:

  • Method execution (custom methods defined by user prompt)
  • Introspection responses (system.listMethods, system.methodHelp, etc.)
  • Fault generation for errors
  • Extensions (nil values, i8/64-bit integers, system.multicall)

Re-exports§

pub use actions::XmlRpcProtocol;

Modules§

actions
XML-RPC protocol actions implementation

Structs§

MethodCall
XML-RPC method call structure
XmlRpcServer
XML-RPC server that handles RPC method calls with LLM

Enums§

XmlRpcValue
XML-RPC value types

Constants§

MAX_REQUEST_BODY_BYTES
Largest request body accepted, in bytes. hyper imposes no limit of its own, and the body is buffered whole, copied into a String and traced in full.
MAX_VALUE_DEPTH
Maximum <array>/<struct>/<value> nesting accepted from a client.

Functions§

generate_fault
Generate an XML-RPC fault response.
generate_success_response
Generate XML-RPC success response with a value
parse_method_call
Parse an XML-RPC <methodCall>.