Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

changed creating od thrift connection #2

Merged
merged 1 commit into from

2 participants

@michalbagrowski

this work with thrift 0.6.1

@twonds twonds merged commit 8866ca1 into twonds:master
@twonds
Owner

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 11, 2011
  1. correct connection with thrift 0.6.1

    Michał Bagrowski authored
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 3 deletions.
  1. +5 −3 example.erl
View
8 example.erl
@@ -6,9 +6,11 @@
-include("scribe_types.hrl").
run() ->
- {ok, C} = thrift_client:start_link("localhost", 1463, scribe_thrift, [{strict_read, false},
- {strict_write, false},
- {framed, true}]),
+ {ok, C} = thrift_client_util:new("localhost", 1463, scribe_thrift,
+ [{strict_read, false},
+ {strict_write, false},
+ {framed, true}]),
+
io:format("Connected ~p~n", [C]),
Something went wrong with that request. Please try again.