Repository: thrift Updated Branches: refs/heads/master b92f636f7 -> 1f1c206b0
THRIFT-3310 lib/erl/README.md has incorrect formatting Client: Erlang Patch: Chris Snow <[email protected]> This closes #593 Project: http://git-wip-us.apache.org/repos/asf/thrift/repo Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/1f1c206b Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/1f1c206b Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/1f1c206b Branch: refs/heads/master Commit: 1f1c206b08323111d7e9dd06321846339ca8f5b0 Parents: b92f636 Author: Jens Geyer <[email protected]> Authored: Thu Sep 3 20:53:44 2015 +0200 Committer: Jens Geyer <[email protected]> Committed: Thu Sep 3 20:53:44 2015 +0200 ---------------------------------------------------------------------- lib/erl/README.md | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/thrift/blob/1f1c206b/lib/erl/README.md ---------------------------------------------------------------------- diff --git a/lib/erl/README.md b/lib/erl/README.md index a61a53c..433d05c 100644 --- a/lib/erl/README.md +++ b/lib/erl/README.md @@ -31,6 +31,7 @@ old naming conventions (for backwards compatibility) use the compiler option Example session using thrift_client: +```erl 1> {ok, C0} = thrift_client_util:new("localhost", 9090, thrift_test_thrift, []), ok. ok 2> {C1, R1} = thrift_client:call(C0, testVoid, []), R1. @@ -47,3 +48,4 @@ ok {ok,ok} 8> {C7, R7} = (catch thrift_client:call(C6, testException, ["Xception"])), R7. {exception,{xception,1001,<<"Xception">>}} +```
