Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http,tcp,rpc #55

Open
capyun opened this issue May 24, 2022 · 0 comments
Open

http,tcp,rpc #55

capyun opened this issue May 24, 2022 · 0 comments

Comments

@capyun
Copy link

capyun commented May 24, 2022

想问下http的rpc和tcp的rpc有啥区别。
看完http rpc,感觉流程是通过向server(给server发一个connect的http请求),得到client(包含了tcp conn),然后就是发rpc数据。
服务端:实现serveHTTP方法,然后就是handleHTTP,进入serveHTTP,先检查http请求是不是connect,然后就到了原来的serveConn,
就感觉这http和tcp的rpc没有啥区别,希望大佬可以解答一下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant