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

feat(model): gateway OpCode sent/received categorization #2124

Merged
merged 2 commits into from
Feb 17, 2023

Conversation

vilgotf
Copy link
Member

@vilgotf vilgotf commented Feb 6, 2023

Documents and add methods for the sent/received categorization of OpCode.

Split out of #2024

@vilgotf vilgotf added t-feature Addition of a new feature c-model Affects the model crate labels Feb 6, 2023
Comment on lines 5 to 21
/// # Received by the client
///
/// [`PresenceUpdate`], [`RequestGuildMembers`], and [`VoiceStateUpdate`] are
/// not requiried for establishing or maintaining a gateway connection.
/// * [`Dispatch`]
/// * [`Heartbeat`]
/// * [`HeartbeatAck`]
/// * [`Hello`]
/// * [`InvalidSession`]
/// * [`Reconnect`]
///
/// # Sent by the client
///
/// * [`Heartbeat`]
/// * [`Identify`]
/// * [`PresenceUpdate`]
/// * [`Resume`]
/// * [`RequestGuildMembers`]
/// * [`VoiceStateUpdate`]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it would be better to document these directly on the methods?

@zeylahellyer zeylahellyer merged commit 5ac9eec into main Feb 17, 2023
@zeylahellyer zeylahellyer deleted the vilgotf/model/feat/opcode branch February 17, 2023 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-model Affects the model crate t-feature Addition of a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants