Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kliment/Printrun.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2014-10-20 11:57:42 +0400
committerGuillaume Seguin <guillaume@segu.in>2014-10-20 11:57:42 +0400
commitec19c12736e911bf66546fcde7cc2c6ef4cc0d4a (patch)
tree6872fd84f2a7c52cc721bf68333032f21e6d0556 /README.md
parentc9b77480266687949b25d6709cd24db5a21e48e5 (diff)
Fix #564: document RPC server
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 89dc7ed..f4bd174 100644
--- a/README.md
+++ b/README.md
@@ -194,6 +194,17 @@ sender, or the following code example:
p.resume()
p.disconnect()
+## RPC SERVER
+
+```pronterface``` and ```pronsole``` start a RPC server, which runs by default
+on localhost port 7978, which provides print progress information.
+Here is a sample Python script querying the print status:
+
+ import xmlrpclib
+
+ rpc = xmlrpclib.ServerProxy('http://localhost:7978')
+ print rpc.status()
+
## CONFIGURATION
### Build dimensions