Skip to content

Add get_socket_fd method to Client and ClientImpl, add according unit… #1341

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

Merged
merged 3 commits into from
Jul 31, 2022
Merged

Add get_socket_fd method to Client and ClientImpl, add according unit… #1341

merged 3 commits into from
Jul 31, 2022

Conversation

Rockybilly
Copy link
Contributor

@Rockybilly Rockybilly commented Jul 31, 2022

Addressing #1340

@yhirose
Copy link
Owner

yhirose commented Jul 31, 2022

@Rockybilly, thanks for the pull request. Could you rename get_socket_fd() to socket()? (Stream already has socket() and it would be better have consistency.) Thanks!

@yhirose
Copy link
Owner

yhirose commented Jul 31, 2022

@Rockybilly, sorry that I edited a change to my previous message. Could you rename get_socket() to socket(), so that the name can be consistent throughout the httplib.h. Thanks again!

@yhirose yhirose merged commit 0b541ff into yhirose:master Jul 31, 2022
@yhirose
Copy link
Owner

yhirose commented Jul 31, 2022

Thanks for the fine contribution!

ExclusiveOrange pushed a commit to ExclusiveOrange/cpp-httplib-exor that referenced this pull request May 2, 2023
yhirose#1341)

* Add get_socket_fd method to Client and ClientImpl, add according unit test

* Change name get_socket_fd to get_socket

* Change name get_socket to socket

Co-authored-by: ata.yardimci <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants