xml-rpc vocabulary - Factor Documentation (original) (raw)

xml-rpc vocabulary
Factor handbook » Vocabulary index

Summary
XML RPC client and server

Metadata

Tags: enterprise, web, xml
Authors: Daniel Ehrenberg

Words

Tuple classes

Class Superclass Slots
base64 tuple string
rpc-fault tuple code string
rpc-method tuple name params
rpc-response tuple params
server-error tuple tag message

Generic words

Word Stack effect
item>xml ( object -- xml )
send-rpc ( rpc -- xml )

Ordinary words

Word Stack effect
( string -- base64 )
( code string -- rpc-fault )
( name params -- rpc-method )
( params -- rpc-response )
children>number ( tag -- n )
invoke-method ( params method url -- response )
method-call ( name seq -- xml )
params ( seq -- xml )
params>array ( tag -- array )
parse-fault ( xml -- fault-code fault-string )
parse-method ( xml -- string array )
parse-rpc-response ( xml -- array )
post-rpc ( rpc url -- rpc' )
receive-rpc ( xml -- rpc )
return-fault ( fault-code fault-string -- xml )
return-params ( seq -- xml )
server-error ( tag message -- * )
struct-member ( name value -- tag )
unstruct-member ( tag -- )
xml>item ( tag -- object )

Class predicate words

Word Stack effect
base64? ( object -- ? )
rpc-fault? ( object -- ? )
rpc-method? ( object -- ? )
rpc-response? ( object -- ? )
server-error? ( object -- ? )

Files

resource:basis/xml-rpc/xml-rpc.factor
resource:basis/xml-rpc/xml-rpc-docs.factor
resource:basis/xml-rpc/xml-rpc-tests.factor

Metadata files

resource:basis/xml-rpc/authors.txt
resource:basis/xml-rpc/summary.txt
resource:basis/xml-rpc/tags.txt