Skip to content

Instantly share code, notes, and snippets.

@atifaziz
Created August 13, 2008 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atifaziz/5275 to your computer and use it in GitHub Desktop.
Save atifaziz/5275 to your computer and use it in GitHub Desktop.
JsonRpcProxyGenerator.Generate demo
import clr
clr.AddReferenceToFileAndPath(r'C:\Jayrock\bin\Release\Jayrock.dll')
from Jayrock.JsonRpc import *
from Jayrock.JsonRpc.Web import *
from System import Uri, Console
class MyService(JsonRpcService):
pass
clazz = MyService().GetClass()
url = Uri('http://www.example.com')
JsonRpcProxyGenerator.Generate(clazz, url, Console.Out)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment