Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
61be274b
Commit
61be274b
authored
Jun 27, 2018
by
wangxuefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Thrift Doc
parent
a17c88b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
thrift.md
docs/cn/thrift.md
+1
-0
thrift.md
docs/en/thrift.md
+1
-0
No files found.
docs/cn/thrift.md
View file @
61be274b
...
...
@@ -29,6 +29,7 @@ sudo make install
```
bash
sh config_brpc.sh
--headers
=
/usr/include
--libs
=
/usr/lib
--with-thrift
```
注意: 在编译用户代码的时候, 请定义ENABLE_THRIFT_FRAMED_PROTOCOL宏, 否则在include brpc中thrift协议相关头文件后, 实际并不生效
# Client端访问thrift server
基本步骤:
...
...
docs/en/thrift.md
View file @
61be274b
...
...
@@ -29,6 +29,7 @@ Config brpc with thrift support, then make. The compiled libbrpc.a includes exte
```
bash
sh config_brpc.sh
--headers
=
/usr/include
--libs
=
/usr/lib
--with-thrift
```
PS: Please Define ENABLE_THRIFT_FRAMED_PROTOCOL Marco in user code in order to make it work when including thrift utils headers in brpc.
# Client accesses thrift server
Steps:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment