Tutorial

 
Return to main page

Using XML-RPC in repoze.bfg

Author: chrism
Date: 07/07/09 at 00:00:39
External URL: http://docs.repoze.org/xmlrpc

To use XML-RPC in repoze.bfg, use the (add-on) package named "repoze.bfg.xmlrpc", available at the URL above.
1
2
3
4
5
from repoze.bfg.xmlrpc import xmlrpc_view

@xmlrpc_view
def say_hello(context, name):
    return 'Hello, %s' % name