facebookincubator / SocketRocket

A conforming Objective-C WebSocket client library.
Other
9.55k stars 2.01k forks source link

Use the HTTP method from the URL request #588

Closed scramjet closed 1 year ago

scramjet commented 6 years ago

SRHTTPConnectMessage was hardcoded to always use HTTP GET. The service I want to connect to requires POST. This PR allows setting that via the appropriate NSURLRequest.

facebook-github-bot commented 6 years ago

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

facebook-github-bot commented 6 years ago

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!