README.md in bertrpc-0.4.0 vs README.md in bertrpc-0.4.1
- old
+ new
@@ -54,9 +54,21 @@
-> {cast, stats, incr, []}
<- {noreply}
+Documentation
+-------------
+
+Creating a service:
+
+ # No timeout
+ svc = BERTRPC::Service.new('localhost', 9999)
+
+ # 10s socket read timeout, raises BERTRPC::ReadTimeoutError
+ svc = BERTRPC::Service.new('localhost', 9999, 10)
+
+
Copyright
---------
Copyright (c) 2009 Tom Preston-Werner. See LICENSE for details.