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

Add support to Protocol::AuthSwitchResponse #105

Merged
merged 1 commit into from Feb 4, 2021

Conversation

dickson-michael
Copy link
Contributor

@dickson-michael dickson-michael commented Jan 6, 2021

Addressing Issue #104.

Refactor:
Moved $auth code from sendHandshake() to getAuthData() and called from sendHandshake().

Added:
constant AUTH_SWITCH_PACKET = 0xfe
function handleAuthSwitch()
function sendAuthSwitchResponse() - calls getAuthData()

Modified:
parsePayload() to call handleAuthSwitch() on receiving AUTH_SWITCH_PACKET

Add support to Protocol::AuthSwitchResponse
@trowski trowski requested a review from bwoebi January 6, 2021 17:00
@bwoebi bwoebi merged commit f14d62f into amphp:master Feb 4, 2021
@bwoebi
Copy link
Member

bwoebi commented Feb 4, 2021

Sorry for the delay, I had checked that a while ago, and forgot clicking the merge button...

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

Successfully merging this pull request may close these issues.

None yet

2 participants